Solutions to Stephen Prata's C++ Primer Plus