我正在用C++编程一个简单的“房子出价”应用程序。我编译并得到这个错误消息:无法解析的外部符号错误是什么意思?
1>Hus.obj : error LNK2019: unresolved external symbol "public: __thiscall
Bud::Bud(void)" ([email protected]@[email protected]) referenced in function "public: __thiscall
Hus::Hus(int,class Person,class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >)"
([email protected]@[email protected]@@[email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@@Z)
1>F:\c++\prosjekter\Øving 4\Ov4Oppg1\Debug\Ov4Oppg1.exe : fatal error LNK1120: 1
unresolved externals
任何人都有线索?
我猜你没有与在Hus.obj需要Bud.obj联......? – 2012-03-12 18:36:23