Mail Archives: djgpp/1997/07/25/20:33:22
Tan Mu Yen wrote:
>
> (1)I've got a problem compiling a simple c++ hello world program using
> cout ... it says cant find iostream.h .... but i downloaded the
> djgpp c++ support files already .. why?
>
Read the FAQ beofre posting any questions to this NG. We have some
really good advisors and some really good flamers. I got flamed just a
couple of days ago for asking the same question.
The answer is found at section 18.2, I believe, in the FAQ. Rhide by
default executes gcc filename and therefore looks only in
%DJDIR%\include for header files. And your c++ headers are in lang\cxx,
GCC won't look there, that's why it can't find it. The only way I know
(was advised) now is to, and somebody advise if better way exists, go to
command line and type "gxx filename" with preferred switches. Then
iostream.h and all c++ headers in lang\cxx will be looked up. Hope it
helped.
I am still figuring out my own way in RHIDE and DJGPP so my advice might
not be accurate.
Later...
Khayu AT inch DOT com
> (2)Another problem is RHIDE ... everytime ... i exit to dos .. the color
> of my monitor becomes kinda of strange ... this also happens when i
> exit to msdos prompt ... and when i return to rhide ... the display
> the ide is also weird ... i'm using djgpp ver 2 .. with win95.
>
> (3)I understand that i do not need to use any dos extender to run
> programs using djgpp v2 ... do i need to include any files
> if i want to run the program in another computer ...
>
> (4)What r the things and commands that i need to use in specific ... to
> make my programs really 32 bit dos programs ..?
>
> (5)Is there any good online text or tutorials on 32 bit dos programmming
> using djgpp ...
>
> Thanks ...
- Raw text -