Change the c++ snippets