CodePudding user response:
The city is what type? How derived base class definition? The post codeCodePudding user response:
The city is an integer
CodePudding user response:
These are derived class (weapon and as soldier)
CodePudding user response:
The place you sn assignment is posted, the same object 2 times to invoke the same method return value is different, must be where the memory information is modified somewhereCodePudding user response:
This is the headquarter of constructors and copy constructor
CodePudding user response:
This is prinborn function with sn for assignment
CodePudding user response:
This is the other functions in a headquarter