int sprintf ( char * str, const char * format, ... );
str - Pointer to a buffer where the resulting C-string is stored (should be large enough)
format - same as format in printf
... - additional argumentsreturn: strlen(str) - the total number of characters written
char buffer [50]; int id = 1234567; int n = sprintf (buffer, "My ID is %d", id); // buffer: My ID is 1234567 // n: 16
int sscanf ( const char * s, const char * format, ...);
s - C string that the function processes as its source to retrieve the data.
format - same as fo