About keyboard being pressed

Umm. I don't really know how to explain this, but what is the function that enables a condition to be fulfilled if one of the keyboard buttons is pressed?

if ("any keyboard button is pressed")  //Problem is I don't which syntax to put
goto abc;
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.

Topic archived. No new replies allowed.