Well, I'm having trouble figuring out why vc++8 doesn't like strings. Heres my code...
EDIT:
Code:
#include <string>
using namespace std;
class AminaRPGEngine
{
AminaRPGEngine();
~AminaRPGEngine():
string GameName;
int mapW,mapH,resW,resH;
};
Error:
1>c:\documents and settings\rcapote\desktop\soc\source\aminarpgengine .h(7) : error C2969: syntax error : ';' : expected member function definition to end with '}'
1>c:\documents and settings\rcapote\desktop\soc\source\aminarpgengine .h(7) : error C2061: syntax error : identifier 'GameName'
1>c:\documents and settings\rcapote\desktop\soc\source\main.cpp(5) : error C2062: type 'int' unexpected
1>c:\documents and settings\rcapote\desktop\soc\source\main.cpp(6) : error C2630: ';' found in what should be a comma-separated list
1>c:\documents and settings\rcapote\desktop\soc\source\main.cpp(17) : error C2577: 'AminaRPGEngine' : a destructor cannot have a return type
1>c:\documents and settings\rcapote\desktop\soc\source\main.cpp(19) : error C2065: '_mangled_main' : undeclared identifier