Examples and exercises from Exploring c++ 2nd edition by Ray Lischner