- 1

How to use Enter what is keycode for enter in c language?

for example if I want to write : if(c==enter) what is keycode for enter

25th Jul 2017, 2:33 PM
Frankestine Stine
Frankestine Stine - avatar
2 Respuestas
+ 8
IIRC, it is 13. (Based on past experience toying with getch())
25th Jul 2017, 2:52 PM
Hatsy Rei
Hatsy Rei - avatar
+ 1
Hi, I believe the keycode for enter is 13. A handy little website is http://keycode.info/
25th Jul 2017, 2:39 PM
Paul Terry
Paul Terry - avatar