std::wscanf, std::fwscanf, std::swscanf
Defined in header
int wscanf( const wchar_t* format, ... );
int fwscanf( FILE *stream, const wchar_t* format, ... );
int swscanf( const wchar_t* buffer, const wchar_t* format, ... );
Reads data from the a variety of sources, interprets it according to
format and stores the results into given locations.
1) Reads the data from stdin.
2) Reads the data from file stream
3) Reads the data from null-terminated wide string
|stream||-||input file stream to read from|
|buffer||-||pointer to a null-terminated wide string to read from|
|format||-|| pointer to a null-terminated wide string specifying how to read the input. |
Number of arguments successfully read, or EOF if failure occurs before the first receiving argument was assigned.
|This section is incomplete|
Reason: no example
| reads formatted wide character input from stdin, a file stream|
or a buffer using variable argument list
C documentation for wscanf, fwscanf, swscanf