g++

G++ is the Unix compiler. To use it, you need to have (a) file(s) containing a C++ program. Then, you just type g++ names. The compiled program will appear in a.out. Alternatively, you can type g++ -o outname names and the compiled program will appear in the file named outname. To run the program, simply type outname at the system prompt. There are lots of other ways of using g++ (to compile but not link, to link a partially-compiled program, etc.); typing man g++ will give you help on using this command.