the c++ programming language book example code