View Full Version : C++

December 30th, 2006, 04:14 PM
Hi everyone,

I have recently installed ubuntu (the latest version) and like it.

Which is the best available compiler for C++ ??
Where do i get it?

Thanks very much


December 30th, 2006, 04:18 PM
The 'G++' C++ compiler is part of GCC, the GNU Compiler Collection.
To get everything needed to compile languages supported by GCC and kernel drivers install the build-essential meta-package.
GCC supports C, C++, Objective-C, Fortran, Java, and Ada.

sudo apt-get install build-essential;
vim test.cpp;
g++ test.cpp -o test;