ThreadBoard ArchivesSite FeaturesActiveworlds SupportHistoric Archives |
Help with C++ Code (Sdk)
Help with C++ Code // SdkjohnfJan 17, 2004, 9:06pm
--------------------Configuration: test - Win32 Debug--------------------
Compiling... test.cpp c:\program files\microsoft visual studio\vc98\include\stdlib.h(2) : error C2143: syntax error : missing ';' before '.' c:\program files\microsoft visual studio\vc98\include\stdlib.h(2) : error C2501: 'stdlib' : missing storage-class or type specifiers c:\program files\microsoft visual studio\vc98\include\stdlib.h(2) : error C2143: syntax error : missing ';' before '.' c:\program files\microsoft visual studio\vc98\include\stdlib.h(7) : error C2146: syntax error : missing ';' before identifier 'include' c:\program files\microsoft visual studio\vc98\include\stdlib.h(7) : error C2501: 'This' : missing storage-class or type specifiers c:\program files\microsoft visual studio\vc98\include\stdlib.h(7) : fatal error C1004: unexpected end of file found Error executing cl.exe. test.exe - 6 error(s), 0 warning(s) - Whats wrong? My code is (stdlib.h is included): #include <iostream.h> #include <stdlib.h> int main() { cout << "Hello\n"; system("PAUSE"); return 0; } kahJan 18, 2004, 1:56pm
"johnf" <johnf at 3d-reality.com> wrote in
news:4009c5fe at server1.Activeworlds.com: > NM - reinstall solved. Notice that the errors were in the standard library header files, not your code. KAH johnfJan 18, 2004, 8:01pm
insane axel aFeb 19, 2004, 7:18am
lol
"bowen" <newoB at sardna.ten> a écrit dans le message de news:401ea881$2 at server1.Activeworlds.com... [View Quote] |