some code on the c++