TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Bill Patterson
from: Mark Kimes
date: 1995-10-02 17:32:52
subject: Re: C Set ++

BP>>> I need to detect a keypress

 MK>> Look at kbhit() and getch(), or (better) go PM and let the OS wake you
 MK>> up when a user input event occurs.

 BP> kbhit() sounds interesting. I'll give that a try.

You'll need _both_ kbhit and getch.

--- XHEd-OS/2 1.22
* Origin: The Pit (1:380/16)
SEEN-BY: 270/101 620/243 711/401 409 410 413 430 807 808 809 934 955 712/407
SEEN-BY: 712/515 628 704 713/888 800/1 7877/2809
@PATH: 380/25 270/101 712/515 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.