Solutions to the exercises of The C++ Programming Language 4th edition