Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

typed, without waiting for one?

TYPED waiting
0
10 Posted

typed, without waiting for one?

0

Date: 5 Feb 2002 22:03:03 -0400In Turbo Pascal, use KeyPressed. Both Microsoft C and Turbo C offer thekbhit() function. All of these tell you whether a key has been pressed.If no key has been pressed, they return that information to yourprogram. If a keystroke is waiting, they tell your program that butleave the key in the input buffer.You can use the BIOS call, INT 16 AH=01 or 11, to check whether anactual keystroke is waiting; or the DOS call, INT 21 AH=0B, to check fora keystroke from stdin (subject to redirection). See Ralf Brown’sinterrupt list [What and where is Ralf Brown’s interruptlist?].——————————————————————————–Subject:

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123