A simple C++ school project