I/O manipulators | ||||
Print functions(C++23) | ||||
C-style I/O | ||||
Buffers | ||||
(C++23) | ||||
(C++98/26*) | ||||
(C++20) | ||||
Streams | ||||
Abstractions | ||||
File I/O | ||||
String I/O | ||||
Array I/O | ||||
(C++23) | ||||
(C++23) | ||||
(C++23) | ||||
(C++98/26*) | ||||
(C++98/26*) | ||||
(C++98/26*) | ||||
Synchronized Output | ||||
(C++20) | ||||
Types | ||||
Error category interface | ||||
(C++11) | ||||
(C++11) |
|
|
int_type snextc(); | ||
Advances the input sequence by one character and reads one character.
The function callssbumpc() to advance the input sequence. If that function returnsTraits::eof() meaning that input sequence has been exhausted anduflow() could not retrieve more data,Traits::eof() is returned. Otherwisesgetc() is called in order to read the character.
Contents |
(none)
The value of the next character. If the input sequence has been exhausted,Traits::eof() is returned.
This section is incomplete Reason: no example |
reads one character from the input sequence without advancing the sequence (public member function)[edit] | |
(removed in C++17) | reads one character from the input sequence and advances the sequence (public member function)[edit] |