Date: Mon, 8 Jan 2001 20:31:20 -0500 Message-Id: <200101090131.UAA02724@envy.delorie.com> X-Authentication-Warning: envy.delorie.com: dj set sender to dj AT envy DOT delorie DOT com using -f From: DJ Delorie To: djgpp AT delorie DOT com In-reply-to: <20010109011718.3996.qmail@web1502.mail.yahoo.com> (message from Angel Rachel on Mon, 8 Jan 2001 17:17:18 -0800 (PST)) Subject: Re: DJGPP compiler problem References: <20010109011718 DOT 3996 DOT qmail AT web1502 DOT mail DOT yahoo DOT com> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > 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.