Thread: Question about formatting flags

  1. #1
    I am me, who else?
    Join Date
    Oct 2002
    Posts
    250

    Question Question about formatting flags

    I came across this and searched all over and did not find, its part of a MUD I am helping to maintain, but does anyone know what \r in the format part of a string is?

    So

    it would be

    Code:
    printf("Hello to you \n \r");
    any ideas? thanks and sorry if that is a waste of time.

  2. #2
    Programming Sex-God Polymorphic OOP's Avatar
    Join Date
    Nov 2002
    Posts
    1,078
    \r is carriage return

  3. #3
    I am me, who else?
    Join Date
    Oct 2002
    Posts
    250
    Thanks! and merry x-mas all!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. another do while question
    By kbpsu in forum C++ Programming
    Replies: 3
    Last Post: 03-23-2009, 12:14 PM
  2. obtaining which combination of flags are being set
    By stanlvw in forum C++ Programming
    Replies: 4
    Last Post: 07-16-2008, 02:43 AM
  3. opengl DC question
    By SAMSAM in forum Game Programming
    Replies: 6
    Last Post: 02-26-2003, 09:22 PM
  4. Examining flags when passed to a function?
    By DominicTrix in forum C++ Programming
    Replies: 5
    Last Post: 02-01-2003, 01:34 PM
  5. Flags, the ambiguity of
    By Jeremy G in forum C++ Programming
    Replies: 1
    Last Post: 01-25-2003, 11:41 PM