• Advertisement
Sign in to follow this  

C++ Compiler and IDE

This topic is 1921 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
Well, IDE's normally come with compilers, and using a specific compiler probably won't matter to you.

Visual Studio -- Good debugger, Intellisense is great for working with classes / functions. I definitely recommend it, it's what I use now.

Code::Blocks -- Has an Intellisense-like property, and fills in a lot of stuff for you (Automatically puts in brackets / parenthesis) In my use it had a lot of good features, however linking it with libraries is a pain. I switched to Visual C++ from this. I believe this IDE is great for beginners, however when you get into using lots of libraries, more advanced programs, debugging, Visual Studio is the way to go.

Xcode -- Never used, but if you're on a mac I've heard it's the best. Edited by superman3275

Share this post


Link to post
Share on other sites
[quote name='Servant of the Lord' timestamp='1350356355' post='4990596']
I recommend Visual Studio if you only intend to use Windows, or QtCreator if you intend to go cross-platform.
[/quote]
Seconded. Code::Blocks is also pretty good.

Share this post


Link to post
Share on other sites
Personally I'm using Visual Studio 2012 and I believe it's best what you can get on Windows.

Share this post


Link to post
Share on other sites
[quote name='Servant of the Lord' timestamp='1350356355' post='4990596']
GCC isn't natively on Windows but the MinGW project is a port (among other things) of GCC.
[/quote]
I think you mean "the native port of GCC for Microsoft Windows is called MinGW". GCC isn't "for" any particular target, I used it on VAX/VMS and Atari TOS long before Linux, Mac OS X, or Microsoft Windows came along. The only time it's non-native is when it's a cross compiler -- and MinGW is actually available on Linux for building Windows apps with, if yuo're in to pain.

Share this post


Link to post
Share on other sites
Yes, that's sortof what I meant, though I phrased it poorly. What I meant to say is that the GCC[u]project[/u]doesn't provide native binaries of the GCC [u]compiler[/u] for Windows (Windows as a host), but that the MinGW project provides native binaries of the GCC compiler for Windows, and also that the MinGW project provides more than just the GCC compiler (it includes some other GNU tools (binutils), and optionally MSYS as well).

Share this post


Link to post
Share on other sites
For the code editor abilities QtCreator is probably one of the bests I came across so far, it's syntax highlighting, code completion and automatic formatting are pretty advanced and I have yet to see Visual Studio reach this level of editor. However it is lacking a bit when it comes to debugging and specially to managing larger projects, probably as it was originally designed to be used for GUI development, and not for large scale game engine development. Code::Blocks and Visual Studio have a nicer project configuration dialog to setup various settings, but the code editor is less advanced.

Share this post


Link to post
Share on other sites
[quote name='Myriddal' timestamp='1350476854' post='4991101']
Dev c++ is an alternative
[/quote]
The original Bloodshed Dev-C++ is [b]horribly outdated and broken[/b], and there are [url="http://clicktobegin.net/programming/why-you-shouldnt-use-dev-c/"]a number of good reasons it should [b]never[/b] be used[/url]. It's ridden with bugs that will never be fixed, it lacks features, and it's not supported. It can also be difficult simply getting it to run on more recent operating systems.

There are however [url="http://clicktobegin.net/programming/updated-versions-of-dev-c/"]two different updated versions that are alright to use[/url] -- they still wouldn't be my choice, but I can't really fault them in any major way apart from the fact that using a relatively unpopular IDE means reduced help and support.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement