updated

Line added in Manager.cpp
#include "Employee.h"

getName method added in Employee.cpp
char* Employee::getName(){
return Employee::name;
}

pricate: to public: changed in Manager.h

change man to &man, passing address of an object in Main.cpp
Line 14 to Line 17

_____

The output is correct. However, I have a Debug Error, crashes the
program.
-> HEAP CORRUPTION DETECTED: after Normal block(#135) at 0x00DF4EE0.
CRT detected that the application wrote to memory after end of heap
buffer