C++Assignment