Good C++ Compiler [Ubuntu]

i heard linux is best OS for programmers plus i wanted to get a little expierienced with another OS but the thing is i dont know what c++ compiler or IDE i should use in ubuntu 12.4
thanx in advance

clang++ is a very good compiler (it's what I use primarily), but gcc is the most supported. I'd recommend both.
I dig a little bit deeper and i think i would try the eclipse.
Last edited on
closed account (jwkNwA7f)
On ubuntu I use Code::Blocks. I haven't used Eclipse for C++ yet, but it is good for android programming so I assume it is good for C++ too.
closed account (3qX21hU5)
I just wanted to point out to the OP just in case there is some confusion that a compiler and a IDE are not the same thing. A IDE is basically a text editor with tools. On most IDE's you can choose from multiple compilers to use.

http://en.wikipedia.org/wiki/Integrated_development_environment

http://en.wikipedia.org/wiki/Compiler

But anyways for a compiler I would go with Clang++ like LB recommended, it has some of the best error messages which is what I love and some very good features. Another very supported options for Linux compilers is gcc so that is another option to.

As for a text editor/IDE I would choose between Sublime and Eclipse depending on what you are going to be doing and the size of your projects. I generally use Sublime for the little stuff and Eclipse for the larger stuff.
Topic archived. No new replies allowed.