22 Jul
2004
22 Jul
'04
22:39
Ebenezer Ntienjem
#include
Replace that with a #include <iostream> To get rid of the backwards warning. In that case you possibly either have to prepend std:: to symbols from iostream, add some #using std::<symbol> where <symbol> has to be replaced by the name needed, e.g. : using std::ostream; using std::cout; etc. Or use the sledgehammer and add a using namespace std; gcc -o mar Array.cc Array_templ_main.cc *Always* use g++ to compile C++ code. gcc won't pull in the additional libraries needed for C++ code. Philipp