Exercises for C++ Primer, 5th edition.