std::basic_streambuf<CharT,Traits>::sgetc
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 sgetc(); |
||
Lee un carácter de la secuencia de entrada .
Original:
Reads one character from the input sequence.
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.
Si la posición de la secuencia de entrada de leer no está disponible, devuelve
underflow()
. De lo contrario devuelve traits::to_int_type(*gptr()) .Original:
If the input sequence read position is not available, returns
underflow()
. Otherwise returns traits::to_int_type(*gptr()).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 al que apunta el puntero del' conseguir .
Original:
The value of the character pointed to by the get pointer.
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
(eliminado en C++17) |
Lee un carácter de la secuencia de entrada y hace avanzar la secuencia. (función miembro pública) |
Hace avanzar la secuencia de entrada, entonces lee un carácter sin hacerla avanzar de nuevo. (función miembro pública) |