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
Old
Profile PM WWW Search
WetWired read his obituary with confusionWetWired read his obituary with confusionWetWired read his obituary with confusionWetWired read his obituary with confusion
 
 
WetWired