Escape sequences in c

This is a discussion on Escape sequences in c within the C Programming forums, part of the General Programming Boards category; What is the escape sequence for 1)delete key 2)escape key 3)return 4)shift key 5)caps lock key 6)control key 7)alt key ...

  1. #1
    Registered User linuxlover's Avatar
    Join Date
    Nov 2010
    Location
    INDIA
    Posts
    52

    Question Escape sequences in c

    What is the escape sequence for
    1)delete key
    2)escape key
    3)return
    4)shift key
    5)caps lock key
    6)control key
    7)alt key
    8)numlock key
    9)insert key
    10)end key
    11)page down
    12)page up
    13)F1 to F12
    14)arrow keys
    15)home key
    16)printscreeen
    etc....

  2. #2
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,796
    What does Google say? I hope you're not using this forum in lieu of what should be your primary research tools: manuals, books, and web searches. It's rather presumptuous to assume that we don't have anything better to do than provide answers you're too lazy to look up.
    My best code is written with the delete key.

  3. #3
    Registered User linuxlover's Avatar
    Join Date
    Nov 2010
    Location
    INDIA
    Posts
    52
    Actually ,I got escape sequences for enter tab backspace
    I didin,t get escape sequences for delete escape f1-f11 etc....
    that is why I'm asking this type qustn

  4. #4
    Registered User
    Join Date
    Oct 2008
    Posts
    1,262
    Quote Originally Posted by linuxlover View Post
    Actually ,I got escape sequences for enter tab backspace
    I didin,t get escape sequences for delete escape f1-f11 etc....
    that is why I'm asking this type qustn
    That's because there are no such "escape sequences". What would you expect if your program would print "F11"? That it would magically be pressed on the keyboard?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problems with escape sequences
    By stdq in forum C Programming
    Replies: 1
    Last Post: 10-10-2010, 07:13 PM
  2. C Escape sequences
    By Tool in forum C Programming
    Replies: 10
    Last Post: 11-20-2009, 08:38 PM
  3. Interpreting literal escape sequences from a file...
    By Sebastiani in forum C++ Programming
    Replies: 1
    Last Post: 07-08-2003, 02:00 PM
  4. Using escape sequences as user inputs
    By musayume in forum C Programming
    Replies: 4
    Last Post: 12-11-2001, 08:35 AM
  5. Escape Sequences
    By Me-Again-Again in forum C Programming
    Replies: 3
    Last Post: 09-05-2001, 06:24 AM

Tags for this Thread


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