Added c++ examples