is also available.Code:int getch();
Using the numpad is a good choice for movement keys, as all eight directions as well as the center can be implemented, and maybe even special implementations for the other eight buttons on there.
Printable View
is also available.Code:int getch();
Using the numpad is a good choice for movement keys, as all eight directions as well as the center can be implemented, and maybe even special implementations for the other eight buttons on there.
lol whats getche
getche() gets one key and returns the int that corresponds to it.
it only gets one, and doesn't wait for the user to hit enter like getch()
In DevC++, if you don't include the conio header file, getch(); doesn' wait for the return key as well. But when i include conio.c, it waits for the return key. How strange!