Re: string

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

 



Hi Mohammad,

>Whats wrong?

You should use the GCC C++ compiler/linker toolchain instead of the GCC C compiler/linker toolchain.

/usr/bin/g++ -o test test.cpp

HTH,
--Eljay

PS:  when you run it, you'll need to type...
./test
...so you don't get /bin/test by accident.


[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