|
提示是错误如下“
EmployeeTest.obj : error LNK2001: unresolved external symbol "public: void __thiscall Records::Employee::display(void)" (?display@Employee@Records@@QAEXXZ)
EmployeeTest.obj : error LNK2001: unresolved external symbol "public: void __thiscall Records::Employee::hire(void)" (?hire@Employee@Records@@QAEXXZ)
EmployeeTest.obj : error LNK2001: unresolved external symbol "public: void __thiscall Records::Employee::promote(int)" (?promote@Employee@Records@@QAEXH@Z)
EmployeeTest.obj : error LNK2001: unresolved external symbol "public: void __thiscall Records::Employee::setSalary(int)" (?setSalary@Employee@Records@@QAEXH@Z)
EmployeeTest.obj : error LNK2001: unresolved external symbol "public: void __thiscall Records::Employee::setEmployeeNumber(int)" (?setEmployeeNumber@Employee@Records@@QAEXH@Z)
EmployeeTest.obj : error LNK2001: unresolved external symbol "public: void __thiscall Records::Employee::setLastName(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (?setLastName@Employee@Records@@QAEXV?$bas
ic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
EmployeeTest.obj : error LNK2001: unresolved external symbol "public: void __thiscall Records::Employee::setFirstName(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (?setFirstName@Employee@Records@@QAEXV?$b
asic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
EmployeeTest.obj : error LNK2001: unresolved external symbol "public: __thiscall Records::Employee::Employee(void)" (??0Employee@Records@@QAE@XZ)
Debug/EmployeeTest.exe : fatal error LNK1120: 8 unresolved externals
Error executing link.exe.
EmployeeTest.exe - 9 error(s), 0 warning(s)
不知道是不是编译器的问题 |
|