为什么运行代码出现这个,如何解决
error LNK2019: 无法解析的外部符号 "public: __thiscall Teacher::Teacher(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,int)" (??0Teacher@@QAE@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@H@Z),该符号在函数 _main 中被引用
1>E:\C++练习\ConsoleApplication1\Debug\demo-2-xigou.exe : fatal error LNK1120: 1 个无法解析的外部命令