Trying to learn C++ by doing.