Some C/C++ code snippets.