the code for the book "Now I learn C++"