无法解析的外部符号 "public: __thiscall

错误    2    error LNK2019: 无法解析的外部符号 "public: __thiscall Rectangle::~Rectangle(void)" (??1Rectangle@@QAE@XZ),该符号在函数 "public: __thiscall Square::~Square(void)" (??1Square@@QAE@XZ) 中被引用

原因:函数这是只是声明了却没有定义

参考https://blog.csdn.net/dlm_211314/article/details/39138895

猜你喜欢

转载自blog.csdn.net/Dear_Jia/article/details/84702665