close
Espacios de nombres
Variantes

std::vwscanf, std::vfwscanf, std::vswscanf

De cppreference.com
< cpp | io | c
 
 
Biblioteca de E/S
Manipuladores de E/S
E/S estilo C
Búferes
(en desuso en C++98)
Flujos
Abstracciones
E/S de archivos
E/S de cadenas
E/S de arrays
(en desuso en C++98)
(en desuso en C++98)
(en desuso en C++98)
Salida sincronizada
Tipos
Interfaz de categoría de error
(C++11)
 
 
<tbody> </tbody>
Definido en el archivo de encabezado <cwchar>
int vwscanf( const wchar_t* format, va_list vlist );
(1) (desde C++11)
int vfwscanf( FILE *stream, const wchar_t* format, va_list vlist );
(2) (desde C++11)
int vswscanf( const wchar_t* buffer, const wchar_t* format, va_list vlist );
(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 definidas por vlist .
Original:
Reads data from the a variety of sources, interprets it according to format and stores the results into locations defined by vlist.
The text has been machine-translated via Google Translate.
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.
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.
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.

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.
vlist -
lista de argumentos variable que contiene los argumentos que reciben
Original:
variable argument list containing the receiving arguments
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Valor de retorno

Número de argumentos leídos correctamente, o si se produce un fallo EOF .
Original:
Number of arguments successfully read, or EOF if failure occurs.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Ejemplo

Ver también

lee la entrada formateado carácter ancho de stdin, una secuencia de archivo o un tampón
Original:
reads formatted wide character input from stdin, a file stream or a buffer
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(función) [editar]
Documentación de C para vwscanf, vfwscanf, vswscanf