convert the project to C++