◐ Shell
clean mode source ↗

std::basic_streambuf::snextc — cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

Les progrès de la séquence d'entrée par un caractère et un caractère lit .

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.

Les appels de fonction sbumpc() pour faire avancer la séquence d'entrée. Si cette fonction renvoie traits::eof() ce qui signifie que la séquence d'entrée a été épuisé et uflow() n'a pas pu récupérer plus de données, traits::eof() est retourné. Sinon sgetc() est appelé pour lire le caractère .

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.

Paramètres

(Aucun)

Original:

(none)

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

Retourne la valeur

La valeur du caractère suivant. Si la séquence d'entrée ont été épuisés, traits::eof() est retourné .

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.

Exemple

Voir aussi

lire une séquence de caractères à partir de l'entrée, sans faire avancer la séquence

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.


(fonction membre publique) [edit]

lit un caractère de la séquence d'entrée et avance la séquence

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.


(fonction membre publique) [edit]