From: eolop AT mbox DOT vol DOT it (Eolo Perfido) Newsgroups: comp.os.msdos.djgpp Subject: What is happening ???? Date: Fri, 31 Jan 1997 20:23:01 GMT Organization: Flashnet Lines: 42 Message-ID: <32f25488.667556@news.flashnet.it> NNTP-Posting-Host: ppp-323.flashnet.it To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Compiling this incredible stupid code (i'm learning): #include #include main () { cout << "eolo"; return 0; } I receive this error.... I compile.... c:\develop\bin>gcc a1.cc -o a1.exe -lm (compiling command, is it ok??) and then.... c:/develop/tmp\ccdaaaaa(.text+0x16):a1.cc: undefined reference to 'cout' c:/develop/tmp\ccdaaaaa(.text+x1b):a1.cc: undefined reference to 'ostream:operator (((char const *)' c:\develop\bin> Someone understand what is happening ????? P.s:I have c++ installed. Thanks a lot..... NecroN 3D Graphic Artist & OverGame Editor http://www.webcom.com/necron http://www.overgame.pair.com