C++ programs used for the tutorial