delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/10/27/17:46:04

From: "A. Sinan Unur" <asu1 AT c-o-r-n-e-l-l DOT edu>
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: <Xns92B4B4140FA26asu1cornelledu@132.236.56.8>
References: <S2Yu9.29661$Mb3 DOT 1242994 AT bgtnsc04-news DOT ops DOT worldnet DOT att DOT net>
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" <peter_data2002 AT yahoo DOT com> 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019