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 instead of the standard input stream.

Related Topics: fscanf, scanf