www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/25/15:49:01

From: "Matt Atkins" <scherzandogbr AT nospam DOT hotmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Compile hello world
Date: Sat, 25 Mar 2000 15:22:55 -0000
Organization: BT Internet
Lines: 25
Message-ID: <8bim2u$f0h$1@plutonium.btinternet.com>
References: <38DBF1B1 DOT C188641 AT kscable DOT com>
NNTP-Posting-Host: host213-1-153-232.btinternet.com
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Bruce Bales" <bbales AT kscable DOT com> wrote in message
news:38DBF1B1 DOT C188641 AT kscable DOT com...
> Running windows 98 on pentium 200.  48 meg memory.
>
> Installed DJGPP with no hitches.  Tried "Hello World" program.
>
> Got error message" c:/djgpp/include/iostream.h(31) Error: streambuf.h:
> no such file or directory."

This is probably due to "Long Filenames" (it's in the FAQ - but I can't
remember where). streambuf.h contains 9 letters in it's filename, but DOS
will only see eight of them: something like stream~1.h. Try typing:

set lfn=y

before attempting to compile your program.

You also might want to consider using "std::cout" as Ervin suggested, or
adding "using namespace std;" before your main() function.

Regards,

Matt


- Raw text -


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