Updated C/C++ snippets