added more c++ examples