Training with C++ -- using a book from professor Malik