Just a guess as I know next to nothing about C++, but I can see this difference:
Code:
Employee p( "Silva", 1234567, 500.0);
Manager p1( "Silva Mikaido",234567, 1000.0, "Dr.");
Secretary p2;
Looks like you haven't provided any data for Secretary as you have for Manager and Employee
__________________
Microsoft MVP - Windows Desktop Experience
Of course I know all the answers; I just don't always match the answers to the right questions.
Rated R for Violence -- When your PC flies through a window, that's violent, right?