A collection of useful C++ code