fatal error C1010: unexpected end of file while looking for precompiled header directive
I have one for every cpp in my visual c++.net project. can anyone let me know what I can do to fix it.
thanks
W
fatal error C1010: unexpected end of file while looking for precompiled header directive
I have one for every cpp in my visual c++.net project. can anyone let me know what I can do to fix it.
thanks
W
You probably need to include “stdafx.h”.
So add:
#include “stdafx.h”
at the top of every .CPP file.
You include typical headers and stuff that doesn’t change often in the stdafx.h file.
[This message has been edited by DarthPaul (edited 03-15-2004).]
You probably need to include “stdafx.h”.
So add:
#include “stdafx.h”
at the top of every .CPP file.
why do we include “stdafx.h”??
If you dont know how to handle precompiled headers I suggest you disable them in the project settings or read the MSVC documentation.
This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.