Mail Archives: djgpp/2001/01/08/20:31:27
> 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.
You should have asked for help earlier.
> In file included from hw.cpp:1:
> c:/djgpp/lang/cxx/iostream.h:31: streambuf.h: No such file or dir
What OS are you using? I'm going to guess NT, and you used winzip to
install the files, or you have 95/98 and you used pkunzip to install
the files.
> 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.
It's not a bonehead error; DJGPP is a posix emulation, and fully
supports both styles of slashes. I've been doing this for, oh, twelve
years now. You'd think I'd notice something as basic as this.
> I believe it is your responsibility to fix this problem. When you sell
> a product it ought to work!!
Did you buy the book from me? No. Did you buy it from Sams? Yes.
It is *their* responsibility to ensure that the software *they* sell
you works. *I* provide no warrantee AT ALL for the software I write
(although people rarely would need one), and I derive NO income from
Sams book sales. Not a penny.
> P.S. This is not a WINDOWS problem!
Actually, it is a windows problem. Their support of long file names
in the DOS sessions varies from release to release, and they did a
poor job of it. That makes it very difficult for us to make sure
users install the software correctly for the version of Windows
they're using. We have our own install technique that Sams obviously
didn't use.
> 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
Not a chance.
- Raw text -