Exercises from The C++ Programming Language book.