#ifndef EMP_H #define EMP_H #include #include "PersonType.h" using namespace std; class Employee: public Person { //notice we are inheriting from Person public: void print() { cout << getFName() << endl << getLName() << endl; } Employee(string f, string l) : Person(f,l) { // ^ // / \ // | //nothing to do really since the //Person constructor is called with the //given strings } }; #endif