This's my homework projects on cpp. Second course.