From: bk039 AT FreeNet DOT Carleton DOT CA (Raymond Martineau) Newsgroups: comp.os.msdos.djgpp Subject: Re: DJGPP compiler problem Date: 9 Jan 2001 14:40:56 GMT Organization: The National Capital FreeNet Lines: 33 Message-ID: <93f7to$2jj$1@freenet9.carleton.ca> References: <20010109011718 DOT 3996 DOT qmail AT web1502 DOT mail DOT yahoo DOT com> NNTP-Posting-Host: freenet10 X-Trace: freenet9.carleton.ca 979051256 2675 134.117.136.30 (9 Jan 2001 14:40:56 GMT) X-Complaints-To: complaints AT ncf DOT ca NNTP-Posting-Date: 9 Jan 2001 14:40:56 GMT X-Given-Sender: bk039 AT freenet10 DOT carleton DOT ca (Raymond Martineau) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Angel Rachel (margarita6346 AT yahoo DOT com) writes: > email: JVREBAR AT msn DOT com > snail mail: John V.Rebar > 26300 Ansell Rd. N.W. > Poulsbo, Wa. 98370 > Dear Mr.D.J. Delorie, > Ref: Sam's ISBN 0-672-31564-5 (DOS disk, DJGPP v2.02) > > I purchased "Sam's Teach Yourself C++ in 21 Days" about Nov.10, > 2000, more than twice 21 days has elapsed and I am still unable to > compile "Hello World!", the first program in the book. > I have thus far gained no satisfactory response to questions > I've asked of Macmillan Publishing and now, in desparation, I appeal > to you, the developer. > I named the "Hello World!" program "hw.cpp". > I typed "gcc hw.cpp" and got the following response: > > In file included from hw.cpp:1: > c:/djgpp/lang/cxx/iostream.h:31: streambuf.h: No such file or dir > (EONENT) This is a common PEBKAC caused by the improper installation of the DJGPP packages. The workaround for this is contained in the Frequently Asked Questions. If you cannot find the workaround in The FAQ, you will need to post your operating system, as well as the program used to extract the files from the packages. -- Raymond Martineau - bk039 AT freenet DOT carleton DOT ca