Add some base c++ example to c++