c++  coursework