C++ Primer 5th solutions by me