◐ Shell
clean mode source ↗

std::basic_streambuf::sputc - cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

int_type sputc( char_type ch );

Escreve um personagem para a seqüência de saída.

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 a saída da posição de gravação de sequência não estiverem disponíveis, retorna overflow(ch). Caso contrário, retorna 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.

Parâmetros

ch -

caracteres para escrever

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.

Valor de retorno

O personagem escrito em sucesso ou em caso de falha traits::eof().

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.

Exemplo

Veja também

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.


(função pública membro) [edit]