X-Apparently-From: Message-ID: <396945E8.4DDBD0A1@yahoo.com> Date: Sun, 09 Jul 2000 23:41:28 -0400 From: PCFreak Organization: @Home Network X-Mailer: Mozilla 4.73 [en]C-AtHome0404 (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: I am a newbie having trouble with simple statements Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com I have tried to make a simple program in C++: #include int main() { cout << "Hello World!"; return 0; } and all I get when I compile it is a bunch of errors: c:/djgpp/tmp\ccDk1S45.o(.text+0x1f):test01.cpp: undefined reference to `cout' c:/djgpp/tmp\ccDk1S45.o(.text+0x24):test01.cpp: undefined reference to `ostream: :operator<<(char const *)' collect2: ld returned 1 exit status Am I just doing something wrong or is their a problem with the compiler? E-mail me at pcfreak AT yahoo DOT com __________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com