SyntaxFix
Write A Post
Hire A Developer
Questions
The difference between gcc and g++ are:
gcc | g++ compiles c source | compiles c++ source
use g++ instead of gcc to compile you c++ source.