Mail Archives: djgpp/1999/10/29/12:34:56
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 <iostream.h>
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
- Raw text -