From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: Compilation Error Date: 27 Oct 2002 22:42:08 GMT Organization: Cornell University Lines: 15 Sender: asu1 AT cornell DOT invalid (on pool-141-149-209-43.syr.east.verizon.net) Message-ID: References: NNTP-Posting-Host: pool-141-149-209-43.syr.east.verizon.net X-Trace: news01.cit.cornell.edu 1035758528 11537 141.149.209.43 (27 Oct 2002 22:42:08 GMT) X-Complaints-To: usenet AT news01 DOT cit DOT cornell DOT edu NNTP-Posting-Date: 27 Oct 2002 22:42:08 GMT User-Agent: Xnews/5.04.25 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Peter" wrote in news:S2Yu9.29661$Mb3 DOT 1242994 AT bgtnsc04-news DOT ops DOT worldnet DOT att DOT net: > test.cpp: In function `int main()': > test.cpp:9: `cout' undeclared (first use this function) > test.cpp:9: (Each undeclared identifier is reported only once for each > function it appears in.) gcc 3.x adhere better to the C++ standard. use std::cout. -- A. Sinan Unur asu1 AT c-o-r-n-e-l-l DOT edu Remove dashes for address Spam bait: mailto:uce AT ftc DOT gov