By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,413 Members | 996 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,413 IT Pros & Developers. It's quick & easy.

Ascii Values

P: 1
i need to know the ASCII values for the four arrow keys,
enter key ,tab key and space bar key....... for a project .
anyone who knows it please tell me.............
Jun 12 '07 #1
Share this Question
Share on Google+
2 Replies


P: 6
i need to know the ASCII values for the four arrow keys,
enter key ,tab key and space bar key....... for a project .
anyone who knows it please tell me.............

F1-F12 key 1 - 12
Shift F1-F12 key 13 - 24
Ctrl F1-F12 key 25 - 36
Ctrl+shift F1-F12 key 37 - 48

Home key 49
Up arrow key 50
Page Up key 51
(keypad) - key 52
Left arrow key 53
(keypad) 5 key 54
Right arrow key 55
(keypad) + key 56
End key 57
Down arrow key 58
Page down key 59
Insert key 60
Delete key 61
Jun 12 '07 #2

Savage
Expert 100+
P: 1,764
F1-F12 key 1 - 12
Shift F1-F12 key 13 - 24
Ctrl F1-F12 key 25 - 36
Ctrl+shift F1-F12 key 37 - 48

Home key 49
Up arrow key 50
Page Up key 51
(keypad) - key 52
Left arrow key 53
(keypad) 5 key 54
Right arrow key 55
(keypad) + key 56
End key 57
Down arrow key 58
Page down key 59
Insert key 60
Delete key 61
I'm sorry but I must disagree with this.If u wish to find out those value you can build a simple programme:

Expand|Select|Wrap|Line Numbers
  1. int k;
  2. while((k=getch())!=27(ESC))
  3. {
  4.      print k;
  5. }
Jun 12 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.