In file included from main.cpp:3:
Employee.h:54:7: warning: no newline at end of file
main.cpp: In function `int main()':
main.cpp:6: error: no matching function for call to `Employee::Employee()'
Employee.h:6: note: candidates are: Employee::Employee(const Employee&)
Employee.h:13: note: Employee::Employee(char*, int, char*, char*)
main.cpp:7: error: no matching function for call to `Employee::Employee()'
nbproject/Makefile-impl.mk:39: recipe for target `.build-impl' failed
Employee.h:6: note: candidates are: Employee::Employee(const Employee&)
Employee.h:13: note: Employee::Employee(char*, int, char*, char*)
main.cpp:8: error: no matching function for call to `Employee::Employee()'
Employee.h:6: note: candidates are: Employee::Employee(const Employee&)
Employee.h:13: note:Employee::Employee(char*, int, char*, char*)
main.cpp:41:2: warning: no newline at end of file
main.cpp:6: error: no matching function for call to `Employee::Employee()'
1 2
Employee One;
// ...
you declared another constructor which causes the default constructor to be deleted, you should implement again the default constructor ( the one w/ no args ) to be able to instantiate an object using this style, or use your already existing overloaded constructor
well almost all of the error came up because of this