add c and c++ snippets