| delorie.com/archives/browse.cgi | search |
| Message-ID: | <3628A5B8.B279767B@montana.com> |
| Date: | Sat, 17 Oct 1998 08:12:08 -0600 |
| From: | bowman <bowman AT montana DOT com> |
| X-Mailer: | Mozilla 4.5b2 [en] (Win95; I) |
| X-Accept-Language: | en |
| MIME-Version: | 1.0 |
| To: | djgpp AT delorie DOT com |
| Subject: | Re: help!!! |
| References: | <36282BEE DOT 577A AT hotmail DOT com> |
| Reply-To: | djgpp AT delorie DOT com |
"A.L.A. Corp / A.S.A. Inc." wrote:
>
> I would like to know that there is of having wandered in this program!
> He only accepts just once the key.
bioskey(1) returns 0 if no key is pressed, or the key. But, the key is
left in the buffer. one solution would be
int key;
if (bioskey(1))
{
key = bioskey(0);
.
.
}
or,
if (kbhit()()
{
key = getch();
.
.
.
}
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |