Dec 10, 2013 at 3:55pm UTC
You are probably creating a GUI project.
Try creating an empty project and manually adding main.cpp file.
Dec 10, 2013 at 4:12pm UTC
yes, it is a gui project. like SGH said, you can create an empty project or a console application project
Dec 10, 2013 at 8:59pm UTC
Oh, and Win32 apps give me errors (empty win32 project). How can I fix it (to run like in Code::Blocks)?
Dec 10, 2013 at 11:05pm UTC
Would be helpful to see your code... But i think it could be something with a library not in your VS-Project properties...
Dec 10, 2013 at 11:43pm UTC
A Win32 project is not empty. You need the option that says "Empty" and nothing else.
Dec 11, 2013 at 5:23pm UTC
Why bother choosing 'empty project' when 'win32 console application' is available and is exactly what OP wants ?
Dec 11, 2013 at 5:28pm UTC
Because it is not exactly what the OP wants. It forces the use of precompiled headers, and it also forces you to use a non-standard alternative to main.
Dec 15, 2013 at 11:40am UTC
Fixed: Visual C++ EMPTY project.