moving to c++