Sign in to follow this  
clem84

total noob here. Can you recommend a c++ compiler?

Recommended Posts

clem84    154
I figured the first thing I had to do was to properly learn C++. I remember back when I was in college we had a program that opened up and then you could write your own code and then run it. That's called a compiler right? Can you recommend a good compiler for windows7?

Share this post


Link to post
Share on other sites
zacaj    667
This is known as an IDE. A compiler just takes the name of a file and makes an exe, it doesnt include an editor. For Windows the best IDEs are Visual Studio (which is made by Microsoft), Code::Blocks, and Eclipse. I don't know about eclipse but I know Visual Studio and Code::Blocks include a compiler with them. Id recommend you download Visual Studio 2010 Express edition to start.
Alternately, there are lots of text editors that you can code in, such as Notepad++ which you can also configure to run a compiler, or even just open a command prompt to run the compiler from

Share this post


Link to post
Share on other sites
Cornstalks    7030
[quote name='clem84' timestamp='1340575825' post='4952455']
I figured the first thing I had to do was to properly learn C++. I remember back when I was in college we had a program that opened up and then you could write your own code and then run it. That's called a compiler right?
[/quote]
Probably an [url="http://en.wikipedia.org/wiki/Integrated_development_environment"]IDE[/url], actually. But yes, you type the code, and the compiler turns your code into an executable (and the IDE simplifies the process of using the compiler, though it's possible (though more painful, depending on who you talk to) to use the compiler without an IDE (a compiler is typically just a command line program)).

[quote name='clem84' timestamp='1340575825' post='4952455']
Can you recommend a good compiler for windows7?
[/quote]
I'll recommend a good compiler and IDE for Windows: [url="http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-cpp-express"]Visual C++ 2010 Express[/url]. It's free, and has the best debugger in the industry.

Share this post


Link to post
Share on other sites
Hellooww! I fell like i should share my EPIC quest in finding an IDE for C++, because i have Tried MANY!!!

I would say that MS Visual C++ 2010 is a great choise, and i think is the most popular. BUT ....

Looking and surfing i found that the one i like the most is the QT IDE, http://qt.nokia.com/products/

The Qt Creator is just awesome for programming in C++, and its cross-platform, so you can write your code once and compile anyware.
It also has the whole Qt framework for programing graphic interface in C++ in case you want to write software.

BUt if you just like to learn C++, you can do a plain C++ project on the Qt Creator and its really smooth.

I prefer Qt Creator over MS Visual C++

Share this post


Link to post
Share on other sites
Cygon    1219
Just for completeness sake, these are the most popular IDEs for Windows (in order of popularity, decided by me :D)

[url="http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-cpp-express"]Visual C++ Express[/url]
[url="http://www.eclipse.org/downloads/moreinfo/c.php"]Eclipse CDT[/url]
[url="http://qt.nokia.com/products/developer-tools"]Qt Creator[/url]
[url="http://www.codeblocks.org/"]Code::Blocks[/url]
[url="http://netbeans.org/features/cpp/"]NetBeans[/url]

Visual C++ is an IDE for Microsoft's C++ Compiler, the other IDEs can either use Microsoft's C++ Compiler or [url="http://www.mingw.org/"]MinGW[/url] depending on which one you have installed.

Share this post


Link to post
Share on other sites
clem84    154
thanks for all the replies! I've decided to use MS's Visual C++ studio 2010. I figured since it's the most popular I'll be able to find support for it more easily.

Share this post


Link to post
Share on other sites
Serapth    6671
[quote name='Cygon' timestamp='1340627121' post='4952630']
Just for completeness sake, these are the most popular IDEs for Windows (in order of popularity, decided by me [img]http://public.gamedev.net//public/style_emoticons/default/biggrin.png[/img])

[url="http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-cpp-express"]Visual C++ Express[/url]
[url="http://www.eclipse.org/downloads/moreinfo/c.php"]Eclipse CDT[/url]
[url="http://qt.nokia.com/products/developer-tools"]Qt Creator[/url]
[url="http://www.codeblocks.org/"]Code::Blocks[/url]
[url="http://netbeans.org/features/cpp/"]NetBeans[/url]

Visual C++ is an IDE for Microsoft's C++ Compiler, the other IDEs can either use Microsoft's C++ Compiler or [url="http://www.mingw.org/"]MinGW[/url] depending on which one you have installed.
[/quote]

You like CDT?

Myself, if I was to rework your list in my order of preference:
Visual C++
QT Creator
Netbeans
Code::Blocks
Nothing
Less than nothing
I owe you something because there is so little nothing
A year in hell
A lifetime in hell
Eclipse CDT

Share this post


Link to post
Share on other sites
Cygon    1219
I tried to estimate popularity, not enjoyability :)

The Android SDK (and especially NDK for C++ developers) uses Eclipse and I got the impression that it's the most common choice for people running MinGW on Windows.
I'm using Eclipse on Linux and it's, well, sort of usable. I find it more convenient to write code in Windows with Visual C++, save it to a network share and compile from bash via PuTTY, though. I would rank the remaining options by their inverse closeness to CMake...

Share this post


Link to post
Share on other sites
[quote name='zacaj' timestamp='1340576162' post='4952457']
This is known as an IDE. A compiler just takes the name of a file and makes an exe, it doesnt include an editor. For Windows the best IDEs are Visual Studio (which is made by Microsoft), Code::Blocks, and Eclipse. I don't know about eclipse but I know Visual Studio and Code::Blocks include a compiler with them. Id recommend you download Visual Studio 2010 Express edition to start.
Alternately, there are lots of text editors that you can code in, such as Notepad++ which you can also configure to run a compiler, or even just open a command prompt to run the compiler from
[/quote]

Dev-C++ is at least as good as Code::Blocks, I would say. Definitely better than Eclipse in my opinion. So ye, I recommend Dev-C++ if you, like me, think Visual Studio feels too cumbersome. Edited by antiHUMANDesigns

Share this post


Link to post
Share on other sites
Fallenrat    85
Unreal Engine or try [url="http://www.gamedev.net/topic/626891-game-engines-for-beginners/"]http://www.gamedev.net/topic/626891-game-engines-for-beginners/[/url]

Share this post


Link to post
Share on other sites
Cornstalks    7030
[quote name='antiHUMANDesigns' timestamp='1340727746' post='4953053']
Dev-C++ is at least as good as Code::Blocks, I would say. Definitely better than Eclipse in my opinion. So ye, I recommend Dev-C++ if you, like me, think Visual Studio feels too cumbersome.
[/quote]
Dev-C++ is [url="http://www.jasonbadams.net/20081218/why-you-shouldnt-use-dev-c/"][i][b]terrible[/b][/i][/url]. [i]At least[/i] use wxDev-C++ if you're going to use it at all. But [i]never[/i] use the original [edit: Bloodshed] Dev-C++. Edited by Cornstalks

Share this post


Link to post
Share on other sites
Matt-D    1574
[quote name='Cornstalks' timestamp='1340803951' post='4953332']
[quote name='antiHUMANDesigns' timestamp='1340727746' post='4953053']
Dev-C++ is at least as good as Code::Blocks, I would say. Definitely better than Eclipse in my opinion. So ye, I recommend Dev-C++ if you, like me, think Visual Studio feels too cumbersome.
[/quote]
Dev-C++ is [url="http://www.jasonbadams.net/20081218/why-you-shouldnt-use-dev-c/"][i][b]terrible[/b][/i][/url]. [i]At least[/i] use wxDev-C++ if you're going to use it at all. But [i]never[/i] use the original Dev-C++.
[/quote]

Orwell Dev-C++ is the recently updated version: [url="http://orwelldevcpp.blogspot.com/"]http://orwelldevcpp.blogspot.com/[/url]
// This may be convenient: "This version has GCC built-in instead of being an aditional package. It also contains, among others, D3D9/10/11, GDI, Win32 and OpenGL headers and libraries in that flavor."

Share this post


Link to post
Share on other sites
Cornstalks    7030
[quote name='Matt-D' timestamp='1340808453' post='4953347']
Orwell Dev-C++ is the recently updated version: [url="http://orwelldevcpp.blogspot.com/"]http://orwelldevcpp.blogspot.com/[/url]
[/quote]
Hmmm... interesting there is another active fork. Good to know, thanks.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this