I wrote a program (yesterday) in visual studio under c++ language category using .c extention , closed it and turnd off the program (taht was yesterday).
Today I turn it on , and it keeps asking me about including stdafx.h
I never heard of this header file and I do have it in the list to the right under the folder header files.
When I copy paste the program into my old visual C++ 6.0 it doesn;t ask for it.
Can it b something went corrupted?
I can post the code but not only it;s uncompleted and full of bugs (probably) I don;t think it;s related since by what I undetstood this header is kinda by default?
I can copy paste all into a new project but I would like to know the cause of it, it would be sad if this is a studio bug...
When I add it (#include <stdafx.h>) it gives me the following error:
fatal error C1853: 'Debug\C_HW.pch' precompiled header file is from a previous version of the compiler, or the precompiled header is C++ and you are using it from C (or vice versa).
On my project I am using:
Any help in the matter will be much appreciated.