please help me !
1) i m trying to move a character using the arrow key, but dont know how to scan the arrow key.
2) form a while(1) loop i have to break, when a key is pressed(cant use getch() as the while loop should break only on pressing a key and should not wait for a user i/p all the time in the loop), and also know the what key was pressed. how do i achieve this?