delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/03/08/02:17:16

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: Andrew Cottrell <andnews AT ihug DOT com DOT oz DOT au>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: RHIDE and C++ lib
Date: Fri, 08 Mar 2002 18:14:15 +1100
Organization: ihug ( New Zealand )
Lines: 20
Message-ID: <poog8ukhtig5212ekjs15qd6k4v2tdaufs@4ax.com>
References: <xFTh8.98$5m3 DOT 2692 AT news1 DOT mts DOT net>
NNTP-Posting-Host: p47-max18.syd.ihug.com.au
Mime-Version: 1.0
X-Trace: lust.ihug.co.nz 1015571645 1956 203.173.153.47 (8 Mar 2002 07:14:05 GMT)
X-Complaints-To: abuse AT ihug DOT co DOT nz
NNTP-Posting-Date: Fri, 8 Mar 2002 07:14:05 +0000 (UTC)
X-Newsreader: Forte Agent 1.9/32.560
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Chris,

Have you recently downloaded GCC 3.0x and as such upgraded your C++
compiler? If yes then you may want to get an some updated C++ docs as
you now need to add the following after the #include. I looked it up
in the C++ Primer that I have as I am still learning C++.

using namespace std;

This works with GCC 3.03 if you add the line otherwise you get the
error.

Andrew
 

..snip..
>In functions `int main()':
>Hello.cpp(5) Error: `cout' undeclared (first use this function)'
>

- Raw text -


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