我意识到这是一个不完整的问题,但我是一个尚未完全精通调试的学生。当我尝试编译时,我得到以下输出:
------ Build started: Project: p05Inheritance, Configuration: Debug Win32 ------
employee.cpp
employee.obj : error LNK2001: unresolved external symbol "private: static class CE::Company CE::Employee::company" (?company@Employee@CE@@0VCompany@2@A)
c:\documents and settings\km\my documents\visual studio 2010\Projects\p05Inheritance\Debug\p05Inheritance.exe : fatal error LNK1120: 1 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
有谁知道我该如何解决这个问题?提前致谢,如果您需要更多信息,请告诉我。