Thanks for your reply, WaKa.

The problem is that gcc can't find the #include file iostream, not that it's using the wrong namespace.

Whe I use the -v (verbose) output, it tells met that it is, in fact, looking in a non-existent directory. - many directories deeper than the real one.

Does the program you gave actually work on your copy of KNOPPIX 5.0.1CD? If so, then I'll have to try another download.

Thanks,
Fred