|
[C] Sprintf example and explanation
|
|
06-01-2010, 10:37 AM
Post: #1
|
|||
|
|||
|
[C] Sprintf example and explanation
Code: /**usage: int sprintf ( char * str, const char * format, ... ); Sprintf just formats a String, and at the same time, it gives the length value of the String to a previously initiated integer. This works like printf,but instead of writing to the console, it writes to a String Referenced C++ Reference helped me to understand the core concept of this. "Character is determined more by the lack of certain experiences than by those one has had." Friedrich Nietzsche |
|||
|
06-02-2010, 03:15 AM
Post: #2
|
|||
|
|||
|
RE: [C] Sprintf example and explanation
Very good explanation i can say !
There's a fine line between genius and insanity. I have erased this line. Oscar Levant There's a fine line between an administrator and black hat hacker. I have erased this line. Dr DEBCOL |
|||
|
« Next Oldest | Next Newest »
|





