Some C++ exercises I'm playing with.