Espacios de nombres
Variantes
Acciones

std::ungetc

De cppreference.com
< cpp‎ | io‎ | c
 
 
 
 
Definido en el archivo de encabezado <cstdio>
int ungetc(int ch, FILE *stream );
Pone el ch carácter nuevo a la secuencia de archivo dado .
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.

[editar]Parámetros

ch -
carácter que va a poner de nuevo
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 -
archivo continuo para poner el personaje volver
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.

[editar]Valor de retorno

En caso de éxito se devuelve 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.
En EOF fallo se devuelve y la secuencia dada se mantiene sin cambios .
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.

[editar]Ver también

recibe un carácter de una secuencia de archivo
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.

(función)[editar]
close