error while compiling c++ code
Posted on 2008-09-29
I have created VC++ simple Windows Console Application Visual Studio 2005. main puncation just print "hello world" on screen with the help of cout.
Now i want to add .c file which contain funcation . after including that file in project i tred to complie it. But it is giving complie error as follow
"Error 1 fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source?c:\my documents\visual studio 2005\projects\try1\try1\try.c 6
please let me know how to solve this problem