Some simple C++ programs from university