std::basic_streambuf::snextc
Da cppreference.com
< cpp | io | basic streambuf
![]() | This page has been machine-translated from the English version of the wiki using Google Translate. The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
int_type snextc(); | ||
Avança a seqüência de entrada por um personagem e lê um caractere.
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.
A função chama
sbumpc()
para avançar a seqüência de entrada. Se essa função retorna traits::eof() o que significa que seqüência de entrada está esgotado e uflow()
não pôde recuperar mais dados, traits::eof() é devolvido. Caso contrário sgetc()
é chamado para ler o personagem.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.
Índice |
[editar]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.
You can help to correct and verify the translation. Click here for instructions.
[editar]Valor de retorno
O valor do próximo caractere. Se a seqüência de entrada tenha sido esgotada, traits::eof() é devolvido.
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]Exemplo
Esta seção está incompleta Motivo: sem exemplo |
[editar]Veja também
lê um caractere da seqüência de entrada sem avançar na seqüência Original: reads one character from the input sequence without advancing 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) | |
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) |