delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/30/20:01:07

From: "Mike T Frizzell" <frizzell AT dhc DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Newbie Q: Error: streambuf.h No such file or directory (ENOENT)
Date: Sun, 30 Aug 1998 18:44:05 -0500
Organization: Digital Highway (using Airnews.net!)
Lines: 37
Message-ID: <9A37E7FDFF4FEAAD.A44B48F205245D67.ED02872E63C10912@library-proxy.airnews.net>
Abuse-Reports-To: abuse at dhc.net to report improper postings
NNTP-Proxy-Relay: library.airnews.net
NNTP-Posting-Time: Sun Aug 30 18:46:18 1998
NNTP-Posting-Host: cSqgk+<VdtBe1BFCh,,>Bl.F%+TMKB (Encoded at Airnews!)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

While compiling
#include <iostream.h>
int main (void)
{
        cout << "Hello world\n";
        cout << "test";
}
I get the following error :
iostream.h(31) Error: streambuf.h No such file or directory (ENOENT) There
were some errors .
The following posts gave me some clues but I'm still not clear on the
pathlist.

> Okay, I was watching the thread about not being able to use the "cout"
> function of iostream.h, and I tried to compile a program in RHIDE using
> iostream.h, and the compiler came back saying that it couldn't find
> iostream.  What's up?

"Böhme Uwe" wrote:
> You've got to set your include directories, in the "Options",
> "Directories".  Then, save those options to a project file.

> cout << "Hello world!";

I have the Options Directories Include Pathlist  set to
e:\djgpp\include e:\djgpp\lang\cxx
all on one line.

Is this syntax OK?  Semicolon delimiters, better?
OR Should the individual directories appear on separate lines.

You help is appreciated.
Mike
frizzell AT dhc DOT net



- Raw text -


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