Topic: Q: "KEYPRESS" or "KEYHIT" alike.


Author: robina@wv.mentorg.com (Robin Albrecht)
Date: Thu, 16 Dec 1993 21:22:55 GMT
Raw View
In article <2eao0n$qpk@ilx018.intel.com>, dhadas@iil.intel.com (David Hadas) writes:
|> HI
|>
|> I am looking for a way in C,C++ to find out if a key was pressed.
|>
|> (Meaning to get a reference on stdin and know when should i call getchar
|>  and when can i simply go on and be sure nothing was pressed).

Try comp.unix.programmer or comp.os.msdos.programmer; or maybe comp.lang.c?

|> Thanks in advance for your help
|>
|>    Didi
|>
|>
|>

--
Robin Albrecht
Mentor Graphics, IC Division
Email: robin_albrecht@mentorg.com




Author: dhadas@iil.intel.com (David Hadas)
Date: 10 Dec 1993 21:00:07 GMT
Raw View
HI

I am looking for a way in C,C++ to find out if a key was pressed.

(Meaning to get a reference on stdin and know when should i call getchar
 and when can i simply go on and be sure nothing was pressed).

Thanks in advance for your help

   Didi