std::basic_streambuf<CharT,Traits>::snextc
De cppreference.com
< cpp | io | basic streambuf
![]() |
Esta página se ha traducido por ordenador/computador/computadora de la versión en inglés de la Wiki usando Google Translate.
La traducción puede contener errores y palabras aparatosas/incorrectas. Planea sobre el texto para ver la versión original. Puedes ayudar a corregir los errores y mejorar la traducción. Para instrucciones haz clic aquí. |
int_type snextc(); |
||
Avanza el orden de entrada de un personaje y lee un carácter .
Original:
Advances the input sequence by one character and reads one character.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
La función llama
sbumpc()
para avanzar en la secuencia de entrada. Si la función devuelve traits::eof() lo que significa que la secuencia de entrada se ha agotado y uflow()
no podría recuperar más datos, se devuelve traits::eof(). De lo contrario sgetc()
se llama con el fin de leer el carácter .Original:
The function calls
sbumpc()
to advance the input sequence. If that function returns traits::eof() meaning that input sequence has been exhausted and uflow()
could not retrieve more data, traits::eof() is returned. Otherwise sgetc()
is called in order to read the character.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Contenido |
[editar] Parámetros
(Ninguno)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[editar] Valor de retorno
El valor del carácter siguiente. Si la secuencia de entrada se ha agotado, se devuelve traits::eof() .
Original:
The value of the next character. If the input sequence has been exhausted, traits::eof() is returned.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[editar] Ejemplo
Esta sección está incompleta Razón: sin ejemplo |
[editar] Ver también
Lee un carácter de la secuencia de entrada sin hacer avanzar la secuencia. (función miembro pública) | |
(eliminado en C++17) |
Lee un carácter de la secuencia de entrada y hace avanzar la secuencia. (función miembro pública) |