cpp inheritance tips

the content need to be updated, refer to the c cpp dir in the blockstaging, the original thing is here

the constructor and destructor

the constructor with the list initilization

the virtual destructor things when there is the inheritance

the conversion between classes

the dynamic cast