Write by c++