• Help with Code::Blocks/Visual Express for C++
    11 replies, posted
I started learning C, which I would compile and run really basic stuff in. However, when I try compiling something with C++, I get an error at the #include <iostream>. I heard Visual Basic is better for C++, however when I tried New Project > C++ > Blank Universal App which came up with a ton of code already. Sure I could just delete it all, but what am I doing wrong? I'm really trying to get into programming, and the whole IDE thing is the only problem I've had so far. Any help is appreciated.
I just started a Programming class and we're also learning C++ on Visual Studio. If you're using Visual Studio 2013 it should be File -> New -> Project -> Installed -> Templates -> Visual C++ -> Empty Project so maybe that's what you need instead of Blank Universal App? It always works for me. [img]http://i.imgur.com/yEqtyPq.png[/img]
What version of Visual Studios are you using? If you're using Visual Basic for C++ as you say you're doing it wrong and should get Express 2013 or something along those lines. I also wouldn't recommend Code::Blocks if you have no previous experience with programming as it requires you to set up the compiler manually(I think)
Hmm, thanks but I don't have Empty Project as one of my templates. [IMG]http://i.imgur.com/CVLI5YX.png?1[/IMG]
Are you using Visual Studio for Web or Desktop? You should have the desktop version but I think you have the web version. You can check this in the about dialog or just in the shortcut/folder name I think
It says I have Visual Express 2013 for Windows
[QUOTE=TheClayMan;45380369]It says I have Visual Express 2013 for Windows[/QUOTE] You want "Visual Studio Express 2013 for Windows Desktop"
[QUOTE=TheClayMan;45380369]It says I have Visual Express 2013 for Windows[/QUOTE] [url]http://www.visualstudio.com/en-us/products/visual-studio-express-vs.aspx[/url] When you downloaded Visual Studio which of these three did you choose? You should have chosen the one labelled Desktop
Damn, my bad. Thanks guys, you all kick ass.
[QUOTE=FPSMango;45380139]I also wouldn't recommend Code::Blocks if you have no previous experience with programming as it requires you to set up the compiler manually(I think)[/QUOTE] You can download it with MinGW included so there is no need to setup a compiler manually.
[QUOTE=Chryseus;45381731]You can download it with MinGW included so there is no need to setup a compiler manually.[/QUOTE] I see, must have downloaded a version that included only the IDE when I tried it.
Express for Windows has a dark UI, and focuses more on the development of Windows Store apps, AFAIK. Express for Windows Desktop has a light UI, and is used for everything else.
Sorry, you need to Log In to post a reply to this thread.