edit class3.cpp