compling cpp programs with gcc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>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.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux