我正在用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