Good C++ compiler

I wasn't sure whether this belonged in beginner because it's a bit of a newbish question, but can anyone suggest a good console compiler and linker for Linux? I'm using Kubuntu specifically if you're wondering.
closed account (1yR4jE8b)
sudo apt-get install build-essential

Installs everythign you need to write basic C/C++ programs

gcc
is the c compiler command
g++
is the c++ compiler command

I recommend you start learning about Makefiles as well.
Thanks!

Makefiles?
closed account (1yR4jE8b)
http://mrbook.org/tutorials/make/
gcc dude...
brokenbot wrote:
gcc dude...

Yeah darkestfright mentioned that, but that's a C compiler, what use is that?
Code::Blocks. Can be downloaded from the Software Center. Happy Coding :)
It stands for the GNU Compiler Collection. It does contain a C compiler, true. The GCC also supports C++, Java, Ada, Objective-C, Objective-C++, Fortran, Go, Modula-2, Modula-3, Pascal, PL/I, D, Mercury, and VHDL.

Yeah darkestfright mentioned that, but that's a C compiler, what use is that?


You don't know what a C compiler is useful for? Take a guess :)
Last edited on
I'm looking for a good C++ compiler, hence the title. So, I wasn't sure why the gcc command would be of use. Now I see that gcc is not only the command but also the name of the suite that also encompasses g++.

ProgrammingNoob wrote:
Code::Blocks. Can be downloaded from the Software Center. Happy Coding :)


Gee thanks, but I was looking for a console linker, not a GUI IDE, and I've got one now, but thanks anyway! :)
Last edited on
I think gcc = the C compiler and GCC = GNU Compiler Collection. I have some recollection of reading that somewhere...
Last edited on
Yeah, that's what I meant.
GCC originally stood for GNU C Compiler, back when it was just a C compiler in 87. Within months of being released, though, it was compiling C++, so the name had to change.
hello,
GCC (Original Compiler) AND OOP Compiler g++

good luck
g++ is not an OOP compiler (that's a concept, not a language), it's a C++ compiler.
Yeah, C has some OOP features anyway and even without that there's a big difference between C++ and 'C with classes'.
Topic archived. No new replies allowed.