Thread: escape sequence help please

  1. #1
    Registered User
    Join Date
    Feb 2012
    Location
    Trinidad & Tobago
    Posts
    43

    escape sequence help please

    hello, i'm having a bit of trouble with escape sequences

    A) \v - gives a vertical tab my text says
    Code:
    printf("\vthis is a text");
    it doesn't print out vertical i get some weird symbol an the out put is normal

    B) \a "alert (bell) character" what does that mean

    C) if i have a program that counts tabs"\t", when the program is executed what do i enter to trigger a new tab ??

    thank for the help

  2. #2
    Registered User
    Join Date
    Nov 2010
    Location
    Long Beach, CA
    Posts
    5,909
    Google is amazing:

    1. It doesn't make your text print vertically: https://www.google.com/search?source...a+vertical+tab
    2. https://www.google.com/search?source...bell+character
    3. By "trigger a new tab" do you mean how do you type a tab character? Have you tried the tab key?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. escape sequence new line /n question
    By bos1234 in forum C Programming
    Replies: 1
    Last Post: 03-02-2012, 03:44 AM
  2. Weird problem: error C2017: illegal escape sequence
    By h3ro in forum C++ Programming
    Replies: 4
    Last Post: 01-14-2008, 07:29 PM
  3. Escape sequence for &
    By 3saul in forum C Programming
    Replies: 10
    Last Post: 02-28-2006, 10:01 PM
  4. Escape sequence of interest?
    By wickedclownz in forum C++ Programming
    Replies: 2
    Last Post: 06-19-2003, 09:28 AM
  5. escape sequence
    By Unregistered in forum C Programming
    Replies: 8
    Last Post: 08-01-2002, 08:36 AM