c++HOMEWORKS