C++ programs from school