Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
letter 1K ]
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
It is clear to me that DOS cannot find the include file because the
path statement is bogus. The backslashes are RIGHT leaning when they
should be LEFT leaning. I am amazed that such a bonehead error could
have gotten past quality control.
I have searched the entire suite of your programs and found the
cited string in the cpp.exe file, line 20, col.40 but am unsure how to
fix it or if indeed that is the problem. This is rather urgent since I
want to compile my first C++ program before I am grayhaired.
I believe it is your responsibility to fix this problem. When you sell
a product it ought to work!!
John V. Rebar
P.S. This is not a WINDOWS problem!
P.S. Please email and snail mail your response and send me
a 3.5 inch floppy with a corrected version of cpp.exe on it.
The path to cpp.exe is lib\gcc-lib\djgpp\2.81