View the Most Wanted LQ Wiki articles.
LinuxQuestions.org > Linux Wiki > G++

From LQWiki

Jump to: navigation, search

G++ is a command for compiling C++ code. It is very similar to GCC, a C compiler. g++ automatically includes the C++ libs, so

g++ hello.cpp

is about equivalent to

gcc -lstdc++ hello.cpp

Share

Personal tools