public: __thiscall BTree::~BTree(void)" (??1BTree@@QAE@XZ)
6chapter1.cpp
Linking...
6chapter1.obj : error LNK2001: unresolved external symbol "public: __thiscall BTree::~BTree(void)" (??1BTree@@QAE@XZ)
6chapter1.obj : error LNK2001: unresolved external symbol "public: __thiscall BTree::BTree(void)" (??0BTree@@QAE@XZ)
Debug/6chapter1.exe : fatal error LNK1120: 2 unresolved externals
执行 link.exe 时出错.
6chapter1.exe - 1 error(s), 0 warning(s)
原来是以为 在类外定义 成员函数,构造函数和析构函数没定义