From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: I can't compile from within RHIDE Date: Sat, 09 Aug 1997 09:04:03 -0400 Organization: Cornell University http://www.cornell.edu Lines: 65 Sender: asu1 AT cornell DOT edu (Verified) Message-ID: <33EC6AC3.5B2@cornell.edu> References: <5rit0j$ad9 AT hacgate2 DOT hac DOT com> <33E76751 DOT 76BF AT virgin DOT net> <33EBEE5E DOT 6D31 AT singnet DOT com DOT sg> Reply-To: asu1 AT cornell DOT edu NNTP-Posting-Host: cu-dialup-0068.cit.cornell.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk TH wrote: > But when I try to compile the following: > > #include > > void main () > { > float hats, heads; > > cout<< "Enter a number"; > cin>>hats; > cout<< "Enter another number"; > cin>>heads; > > cout<< "Heads= "< cout<<" Hats - Heads= "< cout<<" Hats * Heads= "< cout<<" Hats / Heads= "< } > > 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. i have used rhide ever since it first came out, although not heavily. i actually do not like ide's very much. in any case, i have experienced, with everybody else, the mouse problems in win 3.x etc. but i never ever had rhide hang on any project "because the code is too complex". that is an uncalled-for insult. there must be something elementary that you are doing wrong. FYI, rhide compiled and linked the following #include int main (void) { float hats, heads; cout << "Enter a number" << endl; cin >>hats; cout << "Enter another number" << endl; cin >> heads; cout << "Heads= " << heads << " Hats= "<< hats << endl; cout << " Hats + Heads= " << hats+heads << endl; cout << " Hats - Heads= " << hats-heads << endl; cout << " Hats * Heads= " << hats*heads << endl; cout << " Hats / Heads= " << hats/heads << endl; return 0; } on my 486-DX4/75 in about 2-3 seconds in a dos window in win 95. i have a bog standard djgpp setup. -- Sinan ******************************************************************* A. Sinan Unur WWWWWW |--O+O mailto:sinan DOT unur AT cornell DOT edu C ^ http://www.people.cornell.edu/pages/asu1/ \ ~/ *******************************************************************