◐ Shell
clean mode source ↗

std::basic_streambuf::snextc - 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.

Click here for the English version of this page

<metanoindex/>

<tbody> </tbody>

I progressi della sequenza di input di un carattere e legge un carattere.

Original:

Advances the input sequence by one character and reads one character.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

La funzione chiama sbumpc() per avanzare la sequenza di ingresso. Se tale funzione restituisce traits::eof() senso che sequenza di input è stato esaurito e uflow() Impossibile recuperare più dati, traits::eof() viene restituito. In caso contrario, sgetc() è chiamato per leggere il carattere.

Original:

The function calls sbumpc() to advance the input sequence. If that function returns traits::eof() meaning that input sequence has been exhausted and uflow() could not retrieve more data, traits::eof() is returned. Otherwise sgetc() is called in order to read the character.

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 valore del carattere successivo. Se la sequenza di input è stato esaurito, traits::eof() viene restituito.

Original:

The value of the next character. If the input sequence has been exhausted, 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.

Esempio

Vedi anche

legge un carattere dalla sequenza di input senza avanzare la sequenza

Original:

reads one character from the input sequence without advancing the sequence

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(metodo pubblico) [modifica]

legge un carattere dalla sequenza di input e fa avanzare la sequenza

Original:

reads one character from the input sequence and advances the sequence

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(metodo pubblico) [modifica]