- Get key pressed?
- Posted by Matthew on June 28th, 2003
Is there any way (in a consol program) to see what key is being
pressed, and resume the program is no key is being pressed? I'm using visual C++ 6.0
- Posted by david lindauer on June 28th, 2003
_kbhit() should tell you whether a key is being pressed, then you can call _getch() to
see what it is.
David
Matthew wrote:
- Posted by Fred on June 28th, 2003
GetAsyncKeyState should work too and is asynchronous
"Matthew" <cplusplus14@hotmail.com> a écrit dans le message de news:
caff0cd1.0306280756.50815f94@posting.google.com...
- Posted by david lindauer on June 28th, 2003
slightly more difficult to use because not standard ASCII... but works fine
if you want to write small routines to convert
.
David
Fred wrote:
Similar Posts
- BSOD if I/O heavily pressed (Computer Hardware) by Jon Davis
- Silver Pressed DVDs (Video & DVD) by John
- Re: OOOPS Ive pressed a wrong button :-( (Computers & Technology) by Stephen Harris
- Re: OOOPS Ive pressed a wrong button :-( (Computers & Technology) by gb
- Virtual Pressed DVD from DVD-R? (CD/DVD) by IanD

