Example of my C++ code.