www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/02/13/22:33:14

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
Date: Wed, 13 Feb 2002 22:32:18 -0500
Message-Id: <200202140332.g1E3WIw10594@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp AT delorie DOT com
In-reply-to: <00a601c1b4aa$d9818a70$510510ac@et21> (jade@cdict.umcc.cu)
Subject: Re: kbhit
References: <00a601c1b4aa$d9818a70$510510ac AT et21>
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

> Does kbhit() function return true when a key is presed or when it is not?

Did you even *try* to read the documentation?

kbhit

...

Return Value

Nonzero if a key has been hit, else zero.

- Raw text -


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