www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/06/21/23:11:20

From: Andrew Cottrell <andnews AT ihug DOT com DOT oz DOT au>
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: <qun7hu8r0g9a75i7br591l78iscddfgtiq@4ax.com>
References: <3D13CF94 DOT C35B866E AT erols DOT com>
NNTP-Posting-Host: p49-tnt8.syd.ihug.com.au
Mime-Version: 1.0
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 <iostream>
using namespace std;

Andrew

- Raw text -


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