content
const summary
Virtual functions are used to implement polymorphism
https://blog.csdn.net/guoyunfei123/article/details/89003369
class objects dynamically allocate memory
The definition and use of global variables (declared in the header file, defined in the .cpp culture)
First of all, the explicit keyword in C++ can only be used to modify a class constructor with only one parameter. Its function is to indicate that the constructor is explicit, not implicit. Another keyword corresponding to it is implicit , Means hidden, and the class constructor is declared as implicit by default.
In C++, shallow copy, deep copy, object copy, object assignment, object motivating
When the attribute cannot be determined, it is best to use a structure such as vector.
Note the abbreviation of this