c++ course lab3