Archived

This topic is now archived and is closed to further replies.

fatal error C1010

This topic is 5592 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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]

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
You''re using a precompiled header and need to include stdafx.h in ABC.cpp.

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites