From: "Scott" <12345 AT bigfoot DOT com> Newsgroups: comp.os.msdos.djgpp Subject: Re: Error: streambuf.h: No such file or director Date: Mon, 6 Apr 1998 20:34:07 -0500 Organization: ViperNet Lines: 64 Message-ID: <6gc03m$c15$1@newsman.viper.net> References: <3525A2D3 DOT 9EE444CC AT spamhater DOT smartt DOT com> <6g4sn6$soq$1 AT nclient3-gui DOT server DOT virgin DOT net> NNTP-Posting-Host: 207.230.89.197 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Jeffrey and Jason, This will solve your problem... at least it worked for me AND is documented in the RHIDE FAQ: 1) Go to your "djgpp" directory. There is a file there named "djgpp.env". 2) You will find a line that reads "LFN=n". Change that to "LFN=y". 3) That's it; you're all set. Scott Jason Eccles wrote in message <6g4sn6$soq$1 AT nclient3-gui DOT server DOT virgin DOT net>... >Its because of the Long File Name problems. I may be mistaken but it seems >that you can only compile certain programs in a Win95 Dos Box !!!! > >I have just started with DJGPP and have noticed this problem too. It does >seem odd though....LFN problems in a DOS package ........ > >jason DOT eccles AT virgin DOT net > > Jeffrey wrote in message <3525A2D3 DOT 9EE444CC AT spamhater DOT smartt DOT com>... > Hi, > I am a newbie to C++ and using Djgpp, here I have a problem for you. > As I am coding my first program to display a few words, I need the >routines "Cout" and "Cin" so I included the header iostream.h in my .cpp >file. Here is the full lines of my code. > #include > > void main() > > > char Answer > Cout<< "Hello world?"; > Cin >> Answer; > Cout << "This is what you have said" << "Answer"; > } > And then I got a error message c:\djgpp\lang\cxx\iostream.h(31) >Error: streambuf.h: No such file or director. I have never modified any of >the header files or any files under the Djgpp director. By the way, this is >the way my autoexec.bat looks like: > set djgpp=C:\djgpp\djgpp.env > set path=c:\djgpp\bin;C:\WINDOWS;C:\WINDOWS\COMMAND > I wish this is clear enough for you guys to point out where the >problem is, and I wish any of you can answer this for me. > > -- > > Thanks > Jeffrey > --------------------------------- > Please remove spamhater from the > reply address to respond > -------------------------------- > > > >