You are probably creating a GUI project.
Try creating an empty project and manually adding main.cpp file.
yes, it is a gui project. like SGH said, you can create an empty project or a console application project
Oh, and Win32 apps give me errors (empty win32 project). How can I fix it (to run like in Code::Blocks)?
Would be helpful to see your code... But i think it could be something with a library not in your VS-Project properties...
A Win32 project is not empty. You need the option that says "Empty" and nothing else.
Why bother choosing 'empty project' when 'win32 console application' is available and is exactly what OP wants ?
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.
Fixed: Visual C++ EMPTY project.