>I can compile a C program but when I try to compile a cpp prog I get the error For c++ source code you need to use the executable g++ instead of gcc.
>I can compile a C program but when I try to compile a cpp prog I get the error For c++ source code you need to use the executable g++ instead of gcc.