C++ study notes