X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: Andrew Cottrell 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: References: NNTP-Posting-Host: p47-max18.syd.ihug.com.au Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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)' >