Thread: What is cprintf how and why to use it?

  1. #1
    Registered User
    Join Date
    Jun 2003
    Posts
    51

    What is cprintf how and why to use it?

    as titile...

  2. #2
    Registered User
    Join Date
    Apr 2002
    Posts
    1,571
    Well it is very similar to printf. However, cprintf does not translate linefeed characters into carriage return-linefeed combinations on output. cprintf is non-ANSI standard. You should try to avoid non-ANSI functions whenever possible, and it certainly seems possible here.
    "...the results are undefined, and we all know what "undefined" means: it means it works during development, it works during testing, and it blows up in your most important customers' faces." --Scott Meyers

Popular pages Recent additions subscribe to a feed