change to c++

change to c++