im considering making a cheezy game in c++ and was wondering how i would go about adding key press events to my code
Printable View
im considering making a cheezy game in c++ and was wondering how i would go about adding key press events to my code
Mean something like getch() (look up your help files)?
Hey!!! Two things:
> God does not play dice.
> -Stephan Hawking
First, it's Stephen.
Second, it's Einstein who said that - Hawking thinks that God is a gambler.
Why donīt you try to catch the signals from your keyboard?
Depending on the platform you're intending to code, you could use the bios functions and of course, some assembly code...