I think windows.h defines constants for all of the virtual key codes... But I don't know how to find out and use them.
Try include Winuser.h and use GetAsyncKeyState function...?
Please double-check all my suggestions before trying them. I'm not sure how to use any of this, or if it is correct.
Just trying to help... =)
Last edited on
Look here for a small program I showed someone on using the arrow keys to move a character on screen. It will probably be of help to you.