CrazyScorpion
Programmer
The version of VS I'm using is VS 2005 Express
I'm trying to create a string object using the CString keyword.
The syntax is womething like the following:
CString Objective;
The compiler errors I'm receiving are:
1>c:\users\gary\documents\visual studio 2005\projects\r20modern\r20modern\Form1.h(146) : error C2146: syntax error : missing ';' before identifier 'Objective'
1>c:\users\gary\documents\visual studio 2005\projects\r20modern\r20modern\Form1.h(146) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\gary\documents\visual studio 2005\projects\r20modern\r20modern\Form1.h(146) : error C2144: syntax error : 'int' should be preceded by ';'
1>c:\users\gary\documents\visual studio 2005\projects\r20modern\r20modern\Form1.h(146) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
I'm trying to create a string object using the CString keyword.
The syntax is womething like the following:
CString Objective;
The compiler errors I'm receiving are:
1>c:\users\gary\documents\visual studio 2005\projects\r20modern\r20modern\Form1.h(146) : error C2146: syntax error : missing ';' before identifier 'Objective'
1>c:\users\gary\documents\visual studio 2005\projects\r20modern\r20modern\Form1.h(146) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\gary\documents\visual studio 2005\projects\r20modern\r20modern\Form1.h(146) : error C2144: syntax error : 'int' should be preceded by ';'
1>c:\users\gary\documents\visual studio 2005\projects\r20modern\r20modern\Form1.h(146) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int