sscanf

Syntax:

    #include <cstdio>
    int sscanf( const char *buffer, const char *format, ... );

The function sscanf() is just like scanf(), except that the input is read from buffer.

Related Topics: fscanf, scanf