English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

for writing nc program i should use arrow keys.but there is two problem whit it.1.arrow keys ascii code.2.getch() get arrow keys in two step but i need it to get in one step.
thank you.

2006-06-26 21:44:14 · 2 answers · asked by vahid_saljooghi 2 in Computers & Internet Programming & Design

2 answers

http://www.glue.umd.edu/~nsw/ench250/scancode.htm
http://www.phanderson.com/C/getkey.html

2006-06-26 22:26:56 · answer #1 · answered by alakit013 5 · 0 0

1) What language are you writing in?
2) Arrow keys do not produce a printable character and therefore do NOT have an ascii code.

2006-06-27 05:54:38 · answer #2 · answered by AnalProgrammer 7 · 0 0

fedest.com, questions and answers