notes from a C++ class that i am taking