Very basic C++ code from a long, long time ago.