C/C++ snippets