add several c++ code