13 Oct
2004
13 Oct
'04
19:56
Regis FLORET
The first time I try to compile your code (called test.cpp) with :
gcc -o test test.cpp
a big link error occured.
Of course it does, you're using the wrong compiler. gcc is the C compiler, for C++ it's c++. c++ knows which additional libraries are necessary (there are others besides libstdc++) and links them in automatically. Philipp