◐ Shell
clean mode source ↗

std::basic_streambuf::sgetc - cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

Lê um caractere da seqüência 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.

Se a posição da sequência de entrada de leitura não estiver disponível, retorna underflow(). Caso contrário, retorna 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.

Parâmetros

(Nenhum)

Original:

(none)

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 valor do caractere apontado pelo ponteiro' começar.

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.

Exemplo

Veja também

lê um caractere da seqüência de entrada e avança a seqüência

Original:

reads one character from the input sequence and advances the sequence

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]

avança a seqüência de entrada, em seguida, lê um caractere sem avançar novamente

Original:

advances the input sequence, then reads one character without advancing again

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]