c++ assignments