Modify cpptest.cpp