std::basic_streambuf::sgetn, std::basic_streambuf::xsgetn - cppreference.com
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. |
<metanoindex/>
<tbody> </tbody>
|
|
(1) | |
|
|
(2) | |
1)
Chiamate xsgetn(s, count) della classe più derivata.
Original:
Calls xsgetn(s, count) of the most derived class.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
2)
Legge count caratteri dalla sequenza di input e li memorizza in un array di caratteri puntato da s. I caratteri vengono letti come per le chiamate ripetute sbumpc(). Cioè, se è inferiore a caratteri count sono immediatamente disponibili, la funzione chiama uflow() fornire maggiori fino traits::eof() viene restituito.
Original:
Reads count characters from the input sequence and stores them into a character array pointed to by s. The characters are read as if by repeated calls to sbumpc(). That is, if less than count characters are immediately available, the function calls uflow() to provide more until traits::eof() is returned.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Parametri
(Nessuno)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Valore di ritorno
Il numero di caratteri letto con successo.
Original:
The number of characters successfully read.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Esempio
Vedi anche
Invoca Original: invokes The text has been machine-translated via Google Translate. (metodo pubblico) [modifica] | |