Compiling Error

Feb 28, 2011 at 10:25am
Hey guys ! I just started to C++ on today and from the beginning i have compiling errors as in the following image ;

http://img696.imageshack.us/f/errorvh.jpg/

How am i going to solve this problem ? Thanks.
Feb 28, 2011 at 10:33am
You have indicated to your IDE that you are using precompiled headers, but actually you are not. Find the setting that indicates you are using precompiled headers, and change it to indicate that you are not.

Alternatively, take the advice of the error message and stick #include "StdAfx.h" at the top of your code.

I suggest the former.
Feb 28, 2011 at 11:17am
Thanks, i created a new empty project though solved the problem.Thanks anyway.
Topic archived. No new replies allowed.