change into c++