Assignment c++