Hey i was wondering if anyone knew anything about borland C++ and how to do like a 'get key' command or something around those means??? Reason is I want to make a game for my final prog in my class and i need to be able to use the arrow keys to move somehow... Thanks for your help in advance
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)