C++ class final project