From: "Info-Tech Labs" Newsgroups: comp.os.msdos.djgpp References: <3dab6a3d DOT 12537127 AT netnews DOT attbi DOT com> <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> 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 //leave out the .h using namespace std; This should solve your problem. :o) "Peter" 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" wrote in message > news:3dae01c2 DOT 27069253 AT netnews DOT attbi DOT com... > > On Tue, 15 Oct 2002 18:43:06 +0100, Richard Dawe > > wrote: > > > > >Hello. > > > > > >Doktor Technologicus wrote: > > >[snip] > > >> Gpp gives: > > >> > > >> :1:12: warning: "system" re-asserted > > >> :1:13: warning: "system" re-asserted > > >> :1:9: warning: "cpu" re-asserted > > >> :1:13: warning: "machine" re-asserted > > >> :1:9: warning: "cpu" re-asserted > > >> :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, > > > >