Random bits of C++ code from a reading group going through C++ Primer