12.6.4. Creating Indirect Concrete Derived Class BasePlusCommissionEmployee
BasePlusCommissionEmployee (Figs. 12.15–12.16) directly inherits from class
CommissionEmployee (line 9 of Fig. 12.15) and therefore is an indirect derived class of class
BasePlusCommissionEmployee’s member-function implementations include a constructor (lines 9–15 of Fig. 12.16) that takes as arguments a first name, a last name, a social security number, a sales amount, a commission rate and a base salary. It then passes the first name, last name, social security number, sales amount and commission rate to the
CommissionEmployee constructor (line 12) to initialize the inherited members.
BasePlusCommissionEmployee also contains a set function (lines ...