Mail Archives: djgpp/1998/04/04/04:15:23
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 <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
--------------------------------
- Raw text -