delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/24/18:06:16

Message-ID: <38DBF1B1.C188641@kscable.com>
Date: Fri, 24 Mar 2000 16:52:33 -0600
From: Bruce Bales <bbales AT kscable DOT com>
X-Mailer: Mozilla 4.7 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Compile hello world
Reply-To: djgpp AT delorie DOT com

Running windows 98 on pentium 200.  48 meg memory.

Installed DJGPP with no hitches.  Tried "Hello World" program.
#include <iostream.h>
int main()
{
   cout<<"Hello, World\n";
   return 0;
}

Got error message" c:/djgpp/include/iostream.h(31) Error: streambuf.h:
no such file or directory."
Tried the FAQs and readme's.  Can't find answer.

Streambuf.h is in the include directory, along with iostream.h.
Tried in MS/DOS and with RHIDE. same result.  Reinstalled twice from
CDROM and once from a download from delorie.com.  Always same result,
except for include location called out.  Always lists the right
location, but says stringbuf.h doesn't exist.

In downloaded version, both iostream.h and streambuf.h are in
\gpp2952b\lang\cxx\.
 I'm working from "Learn C++ in 24 hours" and 15 hours is used up -
Help.
Bruce Bales

- Raw text -


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