C++ Programming snippets.