c++Assignment