std::wscanf, std::fwscanf, std::swscanf
Da cppreference.com.
![]() |
Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.
La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
Elemento definito nell'header <cwchar>
|
||
int wscanf( const wchar_t* format, ... ); |
(1) | (dal C++11) |
int fwscanf( FILE *stream, const wchar_t* format, ... ); |
(2) | (dal C++11) |
int swscanf( const wchar_t* buffer, const wchar_t* format, ... ); |
(3) | (dal C++11) |
Legge i dati dal una varietà di fonti, interpreta secondo
format
e memorizza il risultato in posizioni indicate.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)
Legge i dati da 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)
Legge i dati dal file di flusso
stream
.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)
Legge i dati di terminazione null
buffer
stringa ampio.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.
Indice |
[modifica] Parametri
stream | - | file di flusso di input da cui leggere
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 | - | puntatore ad una stringa con terminazione null ampia da cui leggere
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 | - | puntatore ad una stringa con terminazione null che specifica gamma come leggere l'input.
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. | ||||
... | - | ricezione argomenti
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. |
[modifica] Valore di ritorno
Numero di argomenti leggere correttamente, o se il difetto EOF si verifica prima che il primo argomento di ricezione è stato assegnato.
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.
[modifica] Esempio
This section is incomplete Reason: no example |
[modifica] Vedi anche
(C++11) (C++11) (C++11) |
legge formattato ingresso ampio personaggio di stdin, stream un file o un buffer utilizzando elenco di argomenti variabili 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. (funzione) |
C documentation for wscanf, fwscanf, swscanf
|