Yep - Triggerhappy is right,
you didn't define SoldierEB before you defined OfficerE and
furthermore; you define SoldierEB later but wrong:
class SoldierEB: SoldierEB{};
This line doesn't make sense
You need to define SoldierEB earlier and correct and that's it.
~S~ CD