getch() key code question

This is a discussion on getch() key code question within the C++ Programming forums, part of the General Programming Boards category; I love using the getch() function but only know how to use alpha-numeric keys and the return (\r) key. I ...

  1. #1
    Registered User
    Join Date
    Sep 2003
    Posts
    15

    getch() key code question

    I love using the getch() function but only know how to use alpha-numeric keys and the return (\r) key. I would really like to have a list of keys such as the up, down, left, and right arrow keys; the tab key; the ctrl key; the alt key; and any other keys I have not listed.

    Thanks!
    Zagaberoo

  2. #2
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    Maybe some help here
    FAQ: Directional Keys - Useing in Console

    or try a search, this has been asked before.
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  3. #3
    Registered User
    Join Date
    Sep 2003
    Posts
    15
    Thanks, Hammer. the thread you linked to solved my problem.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Linked List question from a newb(Need code Critique)
    By Gatt9 in forum C++ Programming
    Replies: 2
    Last Post: 01-08-2006, 02:11 AM
  2. a simple getch question
    By fizisyen in forum C++ Programming
    Replies: 6
    Last Post: 11-15-2003, 11:12 AM
  3. Directional Keys - Useing in Console
    By RoD in forum C++ Programming
    Replies: 38
    Last Post: 10-06-2002, 04:42 PM
  4. Registery with api?
    By ismael86 in forum Windows Programming
    Replies: 1
    Last Post: 05-14-2002, 10:28 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21