Keypressed exists?

Ronald Beekelaar ron at clarity.Princeton.EDU
Sun Feb 4 07:13:12 AEST 1990


Hi

  I have a very simple question, although I can't find the answer myself. How
do you quietly test whether any key was pressed on the keyboard? I want to
write a function that waits 10 seconds, if any key had been pressed, but
doesn't wait at all, if none was pressed. 

  Any help would be appreciated.
--
------
ron
------



More information about the Comp.lang.c mailing list