Useful:
Reads data from s and stores them according to parameter format into the locations given by the additional arguments, as if scanf was used, but reading from s instead of the standard input (stdin).
The additional arguments should point to already allocated objects of the type specified by their corresponding format specifier within the format string.
int sscanf ( const char * s, const char * format, ...);
Read formatted data from string
The additional arguments should point to already allocated objects of the type specified by their corresponding format specifier within the format string.
No comments:
Post a Comment