init to c++