Mail Archives: djgpp/1997/08/13/21:54:29
Stephen DOT Bint AT virgin DOT net wrote:
>
> Trying to compile from within RHIDE, causes RHIDE to lock up without
> compiling. What am i doing wrong?
>
> I copied the rhide.env from the web page. I set up the djgpp vars in
> autoexec.bat. I set up the include and lib directories within RHIDE.
>
> I can compile using GXX directly, but for some reason, when I try to
> compile a cpp file in RHIDE, it hangs. Pressing ctrl-C or ctrl-Break
> causes momentary disk activity, but doesn't break me out. I have to
> reboot my computer. It never compiles.
>
> I have a P120 with 16MB RAM, 17MB free disk space, running DOS 6.22.
>
> Like I said, the compiler by itself works fine. But I want to use RHIDE!
>
> -----
> Binty
I have the same problem with Rhide (ver 1.3) too, sort of, actually.
I have no problem compiling/linking a simple "Hello World" program.
But when I try to compile the following:
#include <iostream.h>
void main ()
{
float hats, heads;
cout<< "Enter a number";
cin>>hats;
cout<< "Enter another number";
cin>>heads;
cout<< "Heads= "<<heads<<" Hats= "<<hats;
cout<<" Hats + Heads= "<<hats+heads<<"\n";
cout<<" Hats - Heads= "<<hats-heads<<"\n";
cout<<" Hats * Heads= "<<hats*heads<<"\n";
cout<<" Hats / Heads= "<<hats/heads<<"\n";
}
It hangs. And I have to kill it.Any other problem which demands a level
of complexity than a "Hello World" will lock up Rhide. I searched the
documents but can't find anything.
Anybody can help?
TH
- Raw text -