Advertisement

fatal error C1010

Started by August 26, 2002 05:44 PM
2 comments, last by virus3355 22 years, 4 months ago
Here is the code: ---------------------- #include <IOSTREAM.H> main() { cout << "hello everyone...this is easy"; return 0; } ---------------------- Here is the error: ---------------------- ------------Configuration: ABC - Win32 Debug------------ Compiling... ABC.cpp c:\myprojects\abc\abc.cpp(12) : fatal error C1010: unexpected end of file while looking for precompiled header directive Error executing cl.exe. ABC.exe - 1 error(s), 0 warning(s) What can i do to fix this error? [edited by - virus3355 on August 26, 2002 6:45:44 PM]
You''re using a precompiled header and need to include stdafx.h in ABC.cpp.
Advertisement
Right click on file giving an error, ->Settings from popped up menu, Category -> Precompiled Headers (listbox on top of General tab), select radiobutton saying "Automatic use of precompiled headers" or "Not using precompiled headers".

That''s it.

" Do we need us? "


Ionware Productions - Games and Game Tools Development

Thanks a bunch HellRiZZer!

This topic is closed to new replies.

Advertisement