-
Control Keys
ok i wanna build a little menu program that will allow the user to hit "Esc" to exit the program, hit "F1" to get help, and stuff like that but i dont know what the code for those keys are, do you know a site that like tutorials this? anyhelp would be great
-
escape produces 27 i think from memory and function keys are 59-68
-
yeah...im still where i began lol, im trying to look around at ASCII charts but im not getting anything for the F1-F12 keys, and my second problem is i dont know how to make it initialize the command as SOON as its pressed and not need a return symbol
-
The "code" depends on what API you're using the read keyboard input. If you don't know what API to use - that depends on what compiler/OS you're using.
In the meantime: FAQ: How can I get input without the user hitting Enter?
gg
-
im using Windows Xp, and Dev-C++ complile
-