If arrow keys do not have ASKII code but if instead they have scan values only then how do i represent them using getch() ?
How to represent values of arrow keys using getch
Collapse
X
-
Comment
-
Arrow keys are not within the minimum character set required of all compiler implementations . Therefore, there is no way to represent them as character constants in the same simple way we do for 'A' or '*'. The answer to your question is implementation dependent.
What compiler are you using?
What processor and operating system does your program run on?Comment
Comment