I was flipping through my c++ book today, a book I haven't really used since my freshmen year, and discovered a very useful function, putback(char) . When reading in a stream of characters it allows you to put a character back into the stream, could be very useful for certain parsing needs.
-- Post From My iPhone