cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/12/00:24:03

From: "A. Sinan Unur" <asu1 AT cornell DOT edu>
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: <Pine DOT SGI DOT 3 DOT 93 DOT 970724201822 DOT 13097A-100000 AT gibson DOT eee DOT upd DOT edu DOT ph> <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
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

TH wrote:
> 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.

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 <iostream.h>

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/     \  ~/ 
*******************************************************************

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019