delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/11/10/16:31:24

From: "Info-Tech Labs" <InfoTechLabs AT bellnet DOT ca>
Newsgroups: comp.os.msdos.djgpp
References: <3dab6a3d DOT 12537127 AT netnews DOT attbi DOT com> <Xns92A7DFE561A2Aasu1cornelledu AT 132 DOT 236 DOT 56 DOT 8> <3dabc08c DOT 34632388 AT netnews DOT attbi DOT com> <3DABD9A2 DOT 212F9EDF AT phekda DOT freeserve DOT co DOT uk> <3dac4b82 DOT 3937281 AT netnews DOT attbi DOT com> <3DAC53AA DOT 813CC65D AT phekda DOT freeserve DOT co DOT uk> <3dae01c2 DOT 27069253 AT netnews DOT attbi DOT com> <h7%u9.9109$VJ5 DOT 543133 AT bgtnsc05-news DOT ops DOT worldnet DOT att DOT net>
Subject: Re: Newbie iostream problem (I read the FAQ, I swear)
Lines: 65
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Message-ID: <47Az9.1165$QD6.159590@news20.bellglobal.com>
Date: Sun, 10 Nov 2002 16:22:46 -0500
NNTP-Posting-Host: 67.68.16.149
X-Complaints-To: abuse AT sympatico DOT ca
X-Trace: news20.bellglobal.com 1036963392 67.68.16.149 (Sun, 10 Nov 2002 16:23:12 EST)
NNTP-Posting-Date: Sun, 10 Nov 2002 16:23:12 EST
Organization: Bell Sympatico
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

The answer to your problem is:
#include <iostream>          //leave out the .h
using namespace std;

This should solve your problem. :o)

"Peter" <peter_data2002 AT yahoo DOT com> wrote in message
news:h7%u9.9109$VJ5 DOT 543133 AT bgtnsc05-news DOT ops DOT worldnet DOT att DOT net...
> Hi ;
>
> I am having the same problem with iostream. Can you tell me what ftp site
>
> you downloaded the files and what files did you downloaded?
>
> Thanks
>
> "Doktor Technologicus" <doodootron AT robotic DOT poopie> wrote in message
> news:3dae01c2 DOT 27069253 AT netnews DOT attbi DOT com...
> > On Tue, 15 Oct 2002 18:43:06 +0100, Richard Dawe
> > <rich AT phekda DOT freeserve DOT co DOT uk> wrote:
> >
> > >Hello.
> > >
> > >Doktor Technologicus wrote:
> > >[snip]
> > >> Gpp gives:
> > >>
> > >> <command line>:1:12: warning: "system" re-asserted
> > >> <command line>:1:13: warning: "system" re-asserted
> > >> <command line>:1:9: warning: "cpu" re-asserted
> > >> <command line>:1:13: warning: "machine" re-asserted
> > >> <command line>:1:9: warning: "cpu" re-asserted
> > >> <command line>:1:13: warning: "machine" re-asserted
> > >> cpp.exe: -lang-c++: linker input file unused because linking not done
> > >> c:/djgpp/bin/ld.exe: cannot find -lgcc
> > >>
> > >> *sigh*
> > >
> > >Your compiler installation is broken. Have you read all the
instructions
> that
> > >come with the compiler (gnu/gcc-n.nn/readme.DJGPP)? What version of gcc
> are
> > >you using?
> >
> > That's what I figured. I followed the Delorie Zip Picker instructions
> > *exactly* : download the files, unzip everything into one directory,
> > maintaining the directory structure, set DJGPP variable, set path.
> >
> > I did it twice.
> >
> > I just did it a third time, from a different FTP site.
> >
> > *now* things are working. Hooray!
> >
> > >I saw messages like this yesterday, when I tried to temporarily use gcc
> 2.95.3
> > >instead of my install of gcc 3.2.
> > >
> > >Regards,
> >
>
>


- Raw text -


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