13 Oct
2004
13 Oct
'04
19:56
Regis FLORET <r.floret@laposte.net> [Wed, 13 Oct 2004 23:02:43 +0200]:
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