Date: Mon, 9 Mar 1998 15:48:52 -0800 (PST) Message-Id: <199803092348.PAA11501@adit.ap.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: "Yeeming Jih" , djgpp AT delorie DOT com From: Nate Eldredge Subject: Re: Error: streambuf.h: no such file... Precedence: bulk At 10:16 3/7/1998 -0500, Yeeming Jih wrote: >I downloaded these files and unzipped them (with directories intact): > >djdev201.zip >bnu281b.zip >faq210b > >gcc280b >gpp280b >lgpp280b > >rhide14b > >I also set DJGPP=C:\DJGPP\DJGPP.ENV and PATH=C:\DJGPP\BIN; in autoexec.bat. >After I installed them I tried to compile the classic "Hello, world!" >program: > >#include > >int main() >{ > cout << "Hello, world!\n" >} > > >I got these error message: [snipped] Three things: 1. I think the header is called . 2. You need to use the `gxx' command instead of `gcc' when linking C++ files. 3. If you name your file ending in `.cc', you will avoid a bug that would keep you from debugging. Nate Eldredge eldredge AT ap DOT net