Posted-Date: Fri, 29 Oct 1999 23:54:20 -0500 (CDT) Message-ID: <000501bf2291$ce2b26c0$e1b1fea9@oemcomputer> From: "Jack State" To: References: <199910291614 DOT MAA00697 AT newton DOT wadsworth DOT org> Subject: Re: compiler - include file problem Date: Fri, 29 Oct 1999 23:46:57 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Reply-To: djgpp AT delorie DOT com Change to read However, when the compiler gets to 'cout' there is another error message. I'm having the same problem . Jack State ----- Original Message ----- From: Sadia Halim Newsgroups: comp.os.msdos.djgpp To: Sent: Friday, October 29, 1999 7:17 AM Subject: compiler - include file problem > Mr. Delorie, > > I have recently begun teaching myself C++. I bought SAMS Teach Yourself > C++ in > 24 hours as an introduction. The cd that accompanied that book came with the > djgpp compiler and all of the source code that can be downloaded from the web > site. I installed the compiler and all the files from the cd and began > writing > my first program; the basic "hello world" program. The code was as follows: > > #include > > int main() > { > cout << "Hello World!\n" > return 0; > } > > I tried to compile this from both the command line and from RHIDE and got the > same error: > > In file included from hello.cpp:1: > c:/djgpp/lang/cxx/iostream.h:31: streambuf.h: No Such File or > Directory(ENOENT) > > I went to the c:/djgpp/lang/cxx/iostream.h and opened the file. I saw where > the library made the call to the streambuf.h . I looked in the > c:/djgpp/lang/cxx directory and saw the streambuf.h file. I attempted to look > at the on-line FAQ's and other sources of info but could not find anything > just > like this. Any assistance you could provide would be greatly appreciated. > Thank you for your time. > > > Sadia Halim > > > ************************************ > Department of Biomedical Sciences > School of Public Health > State University of New York at Albany > > David Axelrod Institute > Wadsworth Center for Laboratories and Research > New York State Department of Health > P.O. Box 22002 > Albany, NY 12201-2002 > > halim AT wadsworth DOT org > lab (518)486-1272 > 486-1280 > fax (518)474-3181