◐ Shell
clean mode source ↗

std::basic_streambuf::sputc - 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>

int_type sputc( char_type ch );

Scrive un carattere alla sequenza di uscita.

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.

Se la sequenza di scrittura posizione di uscita non è disponibile, restituisce overflow(ch). In caso contrario, restituisce 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.

Parametri

ch -

carattere da scrivere

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.

Valore di ritorno

Il carattere scritto in caso di successo o traits::eof() in caso di fallimento.

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.

Esempio

Vedi anche

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


(metodo pubblico) [modifica]