Some notes from a C++ class