◐ Shell
clean mode source ↗

std::basic_streambuf::sputc – cppreference.com

Aus cppreference.com

<metanoindex/>

<tbody> </tbody>

int_type sputc( char_type ch );

Schreibt ein Zeichen an die Ausgabe-Sequenz .

Original:

Writes one character to the output 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 Ausgangssequenz Schreibposition nicht verfügbar ist, kehrt overflow(ch). Ansonsten kehrt traits::to_int_type(ch) .

Original:

If the output sequence write position is not available, returns overflow(ch). Otherwise returns traits::to_int_type(ch).

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

Parameter

ch -

Charakter zu schreiben

Original:

character to write

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

Rückgabewert

Die schriftliche Zeichen auf Erfolg oder traits::eof() bei Ausfall .

Original:

The written character on success or traits::eof() on failure.

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

Beruft xsputn()

Original:

invokes xsputn()

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]