C++ University Work