Thread
:
C++ Borland HELP!
View Single Post
Reply
Posted 2002-04-09, 08:18 AM in reply to
spa
's post
"C++ Borland HELP!"
Um, getch() gets a key, but I'm not sure if it'll help you. If it does work with the arrow keys, the first time it'll return 0 or some number under 32, followed by another number. Use these numbers together to determine which key was pressed. Most keys return a single character. use kbhit() to determine whether there is input to retrieve. (getch() is blocking)
Good luck
--WetWired
Profile
PM
WWW
Search
WetWired