delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/07/21/14:25:41

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Date: Wed, 21 Jul 2004 21:24:24 +0200
From: "Eli Zaretskii" <eliz AT gnu DOT org>
Sender: halo1 AT zahav DOT net DOT il
To: djgpp AT delorie DOT com
Message-Id: <6654-Wed21Jul2004212424+0300-eliz@gnu.org>
X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9
In-reply-to: <2m7g9pFjkp4hU1@uni-berlin.de>
(fbarbuto2002 DOT no AT w1 DOT ca DOT vip DOT scd DOT yahoo DOT com)
Subject: Re: Function kbhit()?
References: <2m3hjoFibqajU1 AT uni-berlin DOT de> <7494-Tue20Jul2004073651+0300-eliz AT gnu DOT org> <2m3odtFhufc2U1 AT uni-berlin DOT de> <1438-Tue20Jul2004214057+0300-eliz AT gnu DOT org> <2m7g9pFjkp4hU1 AT uni-berlin DOT de>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: "Fausto Arinos Barbuto" <fbarbuto2002 DOT no AT w1 DOT ca DOT vip DOT scd DOT yahoo DOT com>
> Newsgroups: comp.os.msdos.djgpp
> Date: Wed, 21 Jul 2004 09:27:03 -0600
> 
>     Sorry, I was out of town yesterday. Let me explain what the misbehaviour
>     is: the program, when executed, receives a numerical input (an interest
>     rate) and after that (and here is the point where things get completely
>     screwed) an input that will define whether the compounding period is
>     annual or monthly. This is done by pressing either "A" or "a" for annual
>     or, alternatively, "M" or "m" for monthly. No other input is accepted
> and
>     the program doesn't go ahead until one of the four letters above is
>     entered. It works beautifully with Borland C++, but not with GCC.

Sorry, I'm still in the dark.  Please describe what you type and what
the program does for that input, and then what happens with the same
input and the same program compiled with Borland C.

>     Ah well. I guess I will never know what the problem is.

You will if you don't give up, but instead continue to pursue this
some more.  I'm quite sure there's a simp-le explanation to what you
see.

- Raw text -


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