◐ Shell
clean mode source ↗

std::basic_streambuf::sputc — cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

int_type sputc( char_type ch );

Écrit un caractère à la séquence de sortie .

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.

Si la position d'écriture séquence de sortie n'est pas disponible, retourne overflow(ch). Sinon retourne 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.

Paramètres

ch -

caractère à écrire

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.

Retourne la valeur

Le caractère écrit sur le succès ou l'échec traits::eof() sur .

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.

Exemple

Voir aussi

Invoque 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.


(fonction membre publique) [edit]