needed help on how to use up and down key.

hello guys! I just want to ask from you an example of an up and down key menu selection.Because i am currently learning on how to make a program of selecting options. Furthermore, if you press the up or down arrow key, the specific option will be highlighted. THanks in advance.By the way, i am using turbo c.


  • In TC, you can use either kbhit() or getch() to get the ASCII-value of the key pressed. If you are unsure of which value the arrow keys have, print the value you receive from those functions on the screen.
  • Thanks for the info. I appresiate it.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!