There are some cpp code of the book's exercise.