modify lab C++