◐ Shell
clean mode source ↗

std::basic_streambuf::sgetc – cppreference.com

Aus cppreference.com

<metanoindex/>

<tbody> </tbody>

Liest ein Zeichen aus der Eingabesequenz .

Original:

Reads one character from the input sequence.

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

Wenn der Eingabesequenz Leseposition nicht verfügbar ist, kehrt underflow(). Ansonsten kehrt traits::to_int_type(*gptr()) .

Original:

If the input sequence read position is not available, returns underflow(). Otherwise returns traits::to_int_type(*gptr()).

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

Parameter

(None)

Original:

(none)

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

Rückgabewert

Der Wert des Zeichens, auf die der get-Zeiger .

Original:

The value of the character pointed to by the get pointer.

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

Beispiel

Siehe auch

liest ein Zeichen aus der Eingabesequenz und fördert die Sequenz

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.


(öffentliche Elementfunktion) [edit]

Fortschritte die Eingabesequenz, dann liest ein Charakter ohne Förderung wieder

Original:

advances the input sequence, then reads one character without advancing again

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


(öffentliche Elementfunktion) [edit]