std::wscanf, std::fwscanf, std::swscanf
De cppreference.com
![]() |
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
Definido en la cabecera <cwchar>
|
||
int wscanf( const wchar_t* format, ... ); |
(1) | (desde C++11) |
int fwscanf( FILE *stream, const wchar_t* format, ... ); |
(2) | (desde C++11) |
int swscanf( const wchar_t* buffer, const wchar_t* format, ... ); |
(3) | (desde C++11) |
Lee los datos de la variedad una de las fuentes, se interpreta de acuerdo con
format
y almacena los resultados en localizaciones dadas .Original:
Reads data from the a variety of sources, interprets it according to
format
and stores the results into given locations.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
1)
Lee los datos de stdin .
Original:
Reads the data from stdin.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
2)
Lee los datos de
stream
archivo continuo .Original:
Reads the data from file stream
stream
.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
3)
Lee los datos de terminación nula
buffer
cadena ancha .Original:
Reads the data from null-terminated wide string
buffer
.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Contenido |
[editar] Parámetros
stream | - | flujo de entrada de archivo para leer
Original: input file stream to read from The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | ||||
buffer | - | puntero a una cadena terminada en cero de ancho a leer
Original: pointer to a null-terminated wide string to read from The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | ||||
format | - | puntero a una cadena terminada en cero amplio indiquen la forma de leer la entrada.
Original: pointer to a null-terminated wide string specifying how to read the input.
The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | ||||
... | - | recibir argumentos
Original: receiving arguments The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[editar] Valor de retorno
Número de argumentos leídos correctamente, o si se produce un fallo EOF antes de recibir el primer argumento fue asignado .
Original:
Number of arguments successfully read, or EOF if failure occurs before the first receiving argument was assigned.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[editar] Ejemplo
Esta sección está incompleta Razón: sin ejemplo |
[editar] Ver también
(C++11)(C++11)(C++11) |
lee la entrada con formato de caracteres anchos de stdin, un stream archivo o un buffer usando la lista de argumentos variable Original: reads formatted wide character input from stdin, a file stream or a buffer using variable argument list The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (función) |
Documentacion C de wscanf, fwscanf, swscanf
|