Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ Language Reference - sprintf http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   sprintf

   Usage
   #include <stdio.h>

   int sprintf(char *buffer,const char *format,...);

   Description
   sprintf is a formatted print routine that writes its characters to the
   memory buffer specified by buffer.

   Arguments  are  interpreted according to the  zero  terminated  format
   string.  The format string is a sequence of characters  with  embedded
   conversion  commands. Characters that are not part of  the  conversion
   command  are output. For a full list of the conversion commands  refer
   to the entry for fprintf.

   Return Value
   Returns the number of characters written. If an error occurred, then a
   negative value is returned.


See Also: fprintf printf scanf vprintf vsprintf vfprintf

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson