moving project to c++