I'm trying to compile some old C++ code I wrote for a programming course. When I say <BLOCKQUOTE><font size="1"face="Geneva, Verdana, Arial">code:</font><HR><pre><font size=1 face=courier> cc program.cpp </font>[/code] I always get this error message:
<BLOCKQUOTE><font size="1"face="Geneva, Verdana, Arial">code:</font><HR><pre><font size=1 face=courier> /usr/bin/ld: Undefined symbols:
___ls__7ostreamPCc
___ls__7ostreamd
___rs__7istreamRd
_cin
_cout </font>[/code]
Clearly, it doesn't like my use of cin and cout. I have the December 2001 Developer Tools with the latest update. Does anyone know why this is happening? Thank you very much.