Microsoft Visual Studio 2013

Dec 10, 2013 at 3:43pm
Hello.
I'm trying to use VS 2013 (C++), but EVERY TIME I get errors (even on an Hello World!).
Example (image): http://i.imgur.com/gRZFB8D.png
1
2
3
4
5
#include <iostream>
int main()
{
	std::cout << "Hello, World";
}


What's happening?
Dec 10, 2013 at 3:55pm
You are probably creating a GUI project.
Try creating an empty project and manually adding main.cpp file.
Dec 10, 2013 at 4:12pm
closed account (oGwfSL3A)
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:58pm
Thanks!
Dec 10, 2013 at 8:59pm
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 9:05pm
Which errors? The same?
Dec 10, 2013 at 11:05pm
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
A Win32 project is not empty. You need the option that says "Empty" and nothing else.
Dec 11, 2013 at 5:23pm
Why bother choosing 'empty project' when 'win32 console application' is available and is exactly what OP wants ?
Dec 11, 2013 at 5:28pm
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
Fixed: Visual C++ EMPTY project.
Topic archived. No new replies allowed.