Change some c and c++ snippets.