Thread: getch() key code question

  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
    http://cboard.cprogramming.com/showt...threadid=25946

    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, 03:11 AM
  2. a simple getch question
    By fizisyen in forum C++ Programming
    Replies: 6
    Last Post: 11-15-2003, 12:12 PM
  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