Message-Id: <199910291614.MAA00697@newton.wadsworth.org> X-Sender: halim AT wadsworth DOT org (Unverified) X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0.1 Date: Fri, 29 Oct 1999 12:17:20 +0000 To: djgpp AT delorie DOT com From: Sadia Halim Subject: compiler - include file problem Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Reply-To: djgpp AT delorie DOT com 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