for 3 term C++ course