Win 32 Console: How To Compile Code in Visual C++ 2005 Express Edition
Win 32 Console: How To Compile Code in Visual C++ 2005 Express Edition
===============================================
1. Create a new project. Choose Win 32 and Win 32 Console Application.
2. Enter a name in the Name box below.
3. Now press the Next button and then the Finish button.
This will generate a file called name.cpp where name is your entered project name.
Now look to the Solution Explorer (if you can't see it, click View on the menu then
Solution Explorer), click name.cpp and press F2.
Now press backspace twice so you end up with name.c.
4. Press F7 To compile.
If you get an error that say "fatal error C1853: 'Debug\name.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)"
[Source: http://cplus.about.com/od/learningc/qt/compilingc.htm]
How to solve fatal error C1853:
=========================