| Compiling C++
gcc ain't MS Visual C++
so the source names should end either with cc or C (even though it may know cpp).
However, to get correct runtime initialization, you have to compile with
c++ testfile.cc
which shoul result with a.out in the current directory. You can start it with
./a.out
Resulting file can be renamed automatically, using
c++ testfile.cc -o whatever
and started with
./whatever
|