practice code fore C++ Primer 4th edition