From: Allens Newsgroups: comp.os.msdos.djgpp Subject: Re: iostream.h Date: Fri, 24 Jul 1998 18:23:58 +0100 Organization: Cable Online Lines: 34 Message-ID: <35B8C32E.3524@cableol.co.uk> References: <000501bdb658$05418840$8f4d08c3 AT arthur> NNTP-Posting-Host: 194.168.181.48 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Arthur wrote: > > >Hi there ! > > > >I've written a proggy with in it: > > > >#include > >int main(void) > >{ > >cout >> "Hello world"; > >return 0; > >} > > > >then i type > > > >GCC proggy.cpp -o proggy.exe > > > >and GCC return an error, he can't find streambuf.h included in > >iostream.h, but I HAVE THIS FILE IN ./lang/cxx/ !!!!!! > > > >What can i do ? > > gcc is the GNU C Compiler. iostream.h is a C++ file, so you need to use gpp > or gxx instead. You can use the iostream files with gcc, and I'm sure that > the many other replies to this message will explain how, but it's easier to > use gxx. > > James Arthur > jaa AT arfa DOT clara DOT net The problem with not finding streambuf.h was that you need to set lfn=y in dos, or rather unwisely in your djgpp.env file. Peter Alleh