From: Jeffrey Newsgroups: comp.os.msdos.djgpp Subject: Error: streambuf.h: No such file or director Date: Fri, 03 Apr 1998 19:02:45 -0800 Organization: KTK Communications Ltd. (SmarttNet, http://www.smartt.com) Lines: 84 Message-ID: <3525A2D3.9EE444CC@spamhater.smartt.com> NNTP-Posting-Host: burn-mx05019.smartt.com Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------EA22487301B4492F7869FE25" To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk --------------EA22487301B4492F7869FE25 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 -------------------------------- --------------EA22487301B4492F7869FE25 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit 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 <iostream.h>

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
--------------------------------
  --------------EA22487301B4492F7869FE25--