Thread: bit of support needed

  1. #1
    Registered User
    Join Date
    Dec 2002
    Posts
    7

    bit of support needed

    Could someone explain to me the use of the printf escape sequence:

    \f

    I know it's a form feed but i havn't yet managed to see it work in practice. The compilers i have come across just print a symbol.

    Can anybody give me a demonstration (windows compilers only).

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Send it to your printer. That's the whole purpose of a form feed.

    printf("stuff\nstuff\nstuff\nstuff\nstuff\f");

    Quzah.
    Hope is the first step on the road to disappointment.

  3. #3
    Registered User moi's Avatar
    Join Date
    Jul 2002
    Posts
    946
    hello, internet!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. 32 bit to 64 bit Ubuntu
    By Akkernight in forum Tech Board
    Replies: 15
    Last Post: 11-17-2008, 03:14 AM
  2. Replies: 16
    Last Post: 11-23-2007, 01:48 PM
  3. Bitwise Operators - Setting and Retreiving a Bit
    By Spono in forum C Programming
    Replies: 2
    Last Post: 11-04-2003, 02:09 PM
  4. Bit Manipulation Questions
    By CPPNewbie in forum C++ Programming
    Replies: 7
    Last Post: 08-12-2003, 02:17 PM