Making your own manipulators in C++ (input).