From: "Jason Eccles" Newsgroups: comp.os.msdos.djgpp Subject: Re: Error: streambuf.h: No such file or director Date: Sat, 4 Apr 1998 09:45:20 +0100 Organization: Virgin Net Usenet Service Lines: 45 Message-ID: <6g4sn6$soq$1@nclient3-gui.server.virgin.net> References: <3525A2D3 DOT 9EE444CC AT spamhater DOT smartt DOT com> NNTP-Posting-Host: 194.168.58.11 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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 --------------------------------