delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/10/31/08:45:23

From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: problems with cout on Win98
Date: 31 Oct 2002 13:33:46 GMT
Organization: Aachen University of Technology (RWTH)
Lines: 14
Message-ID: <aprbfq$t22$1@nets3.rz.RWTH-Aachen.DE>
References: <3dc0270e$1 AT news DOT swissonline DOT ch>
NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de
X-Trace: nets3.rz.RWTH-Aachen.DE 1036071226 29762 137.226.32.75 (31 Oct 2002 13:33:46 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 31 Oct 2002 13:33:46 GMT
Originator: broeker@
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Felix Althaus <felix DOT althaus AT swissonline DOT ch> wrote:

> C:\DJGPP>gxx testc.cpp
> testc.cpp: In function `int main()':
> testc.cpp:8: `cout' undeclared (first use this function)

> What I am doing wrong?

You're using outdated material to learn C++ from.  GCC has (finally)
caught up to the C++ standard (issued 1998 or 1999), but your code
hasn't.  Get a current textbook.
-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


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