Some experiments code on c++