fatal error C1010
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]
August 26, 2002 05:47 PM
You''re using a precompiled header and need to include stdafx.h in ABC.cpp.
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? "
That''s it.
" Do we need us? "
" Do we need us? "Ionware Productions - Games and Game Tools Development
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement