//three.cpp
#include <iostream>
#include <conio.h>
#include "Date.h"
#include "Employee.h"
usingnamespace std;
int main()
{
Date birth (11,12,1910);
Date hire (14,3,1950);
Employee man ("arslan","afzal", birth, hire );
cout << endl;
man.print ();
getch();
return 0;
}
I'm getting error at Employee.cpp at line 8
Error: no instance of overloaded function Employee::Employee matches the specified type.
Any help will be appreciated.
iHutch105 thank you very much, I appreciate it that you looked my code to find the problem, Otherwise i was thinking who will check so long codes.
Thanks a lot again, you are great. God bless you.