From: Andrew Cottrell Newsgroups: comp.os.msdos.djgpp Subject: Re: C++ and IOSTEAM.H Date: Sat, 22 Jun 2002 12:26:16 +1000 Organization: ihug ( New Zealand ) Lines: 13 Message-ID: References: <3D13CF94 DOT C35B866E AT erols DOT com> NNTP-Posting-Host: p49-tnt8.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 1024712779 26581 203.173.147.49 (22 Jun 2002 02:26:19 GMT) X-Complaints-To: abuse AT ihug DOT co DOT nz NNTP-Posting-Date: Sat, 22 Jun 2002 02:26:19 +0000 (UTC) X-Newsreader: Forte Agent 1.91/32.564 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com >Help. I have downloaded and installed the latest djgpp software and am >having a problem with a simple c++ program and iostream.h. I have a >Pentium II running Windows 98. The code, written and compiled using >rhide, is as follows: > The C++ standard has changed slightly over the years and to get the program to compile change the header include and add the namespace line as follows:- #include using namespace std; Andrew