std::fwgets
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> | ||
wchar_t*fgetws(wchar_t*str, int count, FILE *stream ); | ||
Legge a personaggi più ampie count -1 dal flusso di file specificato e li memorizza in
str
. La stringa di prodotto larga è sempre NULL-terminato. Parsing si arresta se end-of-file di verifica o un carattere di nuova riga larga si trova, in questo caso str
conterrà quel carattere di nuova riga larga.Original:
Reads at most count -1 wide characters from the given file stream and stores them in
str
. The produced wide string is always NULL-terminated. Parsing stops if end-of-file occurs or a newline wide character is found, in which case str
will contain that wide newline character.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]Parametri
str | - | stringa ampio per leggere i caratteri Original: wide string to read the characters to The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
count | - | la lunghezza di str Original: the length of str The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
stream | - | stream file per leggere i dati Original: file stream to read the data from 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
str
in caso di successo, NULL su un erroreOriginal:
str
on success, NULL on an errorThe 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]Vedi anche
legge formattato ingresso ampio personaggio di stdin, un flusso di file o di un buffer 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. (funzione) | |
ottiene un carattere esteso da un flusso di file Original: gets a wide character from a file stream The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (funzione) | |
scrive una stringa bersaglio un flusso di file Original: writes a wide string to a file stream 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 fgetws |