#includeIn this example, we read a character from standard input using `std::cin.get()`. We then do some processing (not shown), but decide we actually need the original character again. So we use `std::cin.unget()` to put the character back onto the stream. We then read the character again and output it to the console. The `istream unget` function is part of the C++ standard library (`int main() { // read a character from standard input char c = std::cin.get(); // do some processing... // ... // put the character back onto the stream std::cin.unget(); // read the character again c = std::cin.get(); std::cout << "You entered: " << c << std::endl; return 0; }