How to use stl string class
by gamer · in Torque Game Engine · 06/07/2006 (6:40 pm) · 2 replies
I am tring to add a class in the c++ engine. the compiler can't resolve the string class although its declared in string.h.
any idea how to set it up in vc 7/ visual studio 2003?
thanks
any idea how to set it up in vc 7/ visual studio 2003?
thanks
#include <string> //or #include "string.h"
class ExternalProcess
{
public :
string getExeName(string strFullPathToExe);
};About the author
Torque Owner Nicolas Quijano
To sum it up : the custom memory manager TGE uses doesn't play nice with STL in general, but there have been community fixes to help with this, including a thread about it just a few days ago.