Xref: news-dnh.mv.net comp.os.msdos.djgpp:4292 Path: news-dnh.mv.net!mv!news.sprintlink.net!europa.chnt.gtegsc.com!gatech!udel!news.udel.edu!brahms.udel.edu!not-for-mail From: yuehong AT brahms DOT udel DOT edu (Yue-hong Zheng) Newsgroups: comp.os.msdos.djgpp Subject: Help: undef ref to 'cout',undef ref to 'ostream'::operator<<(char(const*)' Date: 12 Jan 1996 13:21:14 -0500 Organization: University of Delaware Lines: 16 Message-ID: <4d68qq$6bb@brahms.udel.edu> NNTP-Posting-Host: brahms.udel.edu To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp I want to compile the following c++ prog.: #include main () { cout <<"hello"; return 0; } After I do"gcc -v -x c++ prog1.cpp", i got the above error message. I also find that iostream.h resides in \djgpp\cplusinc