Getting rid of precompiled headers. If your source file
contains #include , your project was configured
to use precompiled header. Precompiled headers will not let you
properly run or debug your console-based application. When creating a
project, in the Project Creation Wizard, make sure to uncheck
"Precompiled Headers" and check "Empty Project".
To disable precompiled headers in an existing project to Project->Properties->Configuration Properties -> C/C++ -> Precompiled Headers and select "Not Using Precompiled Headers" option.