Put It Back
C++ input stream classes have two member functions, unget() and putback(), that can be used to “undo” an operation performed by the get() function. Research these functions on the Internet, and then use one of them to rewrite Program 13-9 without using the peek() function.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.