std::vwscanf, std::vfwscanf, std::vswscanf
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. |
Déclaré dans l'en-tête <cwchar> | ||
int vwscanf(constwchar_t* format, va_list vlist ); | (1) | (depuis C++11) |
int vfwscanf( FILE *stream, constwchar_t* format, va_list vlist ); | (2) | (depuis C++11) |
int vswscanf(constwchar_t* buffer, constwchar_t* format, va_list vlist ); | (3) | (depuis C++11) |
Lit les données de la variété de sources, il interprète selon
format
et stocke les résultats dans des emplacements définis par 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.
You can help to correct and verify the translation. Click here for instructions.
1)
Lit les données 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)
Lit les données
stream
flux de fichierOriginal:
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)
Lit les données à zéro terminal
buffer
chaîne largeOriginal:
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.
Sommaire |
[modifier]Paramètres
stream | - | flux de fichier d'entrée à lire 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 | - | pointeur vers une chaîne terminée par null gamme de lire 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 | - | pointeur vers une chaîne terminée par null large spécifiant la façon de lire l'entrée.
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 | - | liste d'arguments variable contenant les arguments de réception 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. |
[modifier]Retourne la valeur
Nombre d'arguments avec succès lire ou EOF en cas d'échec .
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.
You can help to correct and verify the translation. Click here for instructions.
[modifier]Exemple
This section is incomplete Reason: no example |
[modifier]Voir aussi
lit format d'entrée pour les caractères larges de stdin, un flux de fichier ou un tampon 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. (fonction) | |
C documentation for vwscanf, vfwscanf, vswscanf |