When compiling with g++, it warns me that <iostream.h> is deprecated,
but when using <iostream> I get an error that cout is undefined. Also,
there is no man for cout. Should I use something else in stead of cout?
You should indeed be including <iostream> rather than <iostream.h>. Then,
be aware that most (all?) of the standard headers - i.e. the ones without
the ".h" - put everything in the namespace "std", so e.g. you have to
reference cout as std::cout.
Darn! My book doesn't mention namespaces at all... Good thing I've
reserved another book at the library.
Thank you all for your input. I'll be back, I promise ;-)
Best regards
Stefan
_______________________________________________
help-gplusplus mailing list
help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus