◐ Shell
clean mode source ↗

std::ungetc - cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

Definido no cabeçalho

<cstdio>

int ungetc( int ch, FILE *stream );

Coloca o ch personagem de volta para o fluxo determinado arquivo.

Original:

Puts the character ch back to the given file stream.

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 -

personagem para ser colocado de volta

Original:

character to be put back

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

stream -

arquivo corrente para colocar o personagem de volta a

Original:

file stream to put the character back to

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

Em caso de sucesso é devolvido ch.

Original:

On success ch is returned.

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

Em EOF falha é devolvido eo fluxo determinado permanece inalterado.

Original:

On failure EOF is returned and the given stream remains unchanged.

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

Veja também

recebe um personagem de um fluxo de arquivo

Original:

gets a character from a file stream

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


(função) [edit]