天正8.5单机锁检查失败:C++中个这种不能连接的原因是什么

来源:百度文库 编辑:神马品牌网 时间:2024/05/09 02:31:13
Linking...
shapeclass.obj : error LNK2001: unresolved external symbol "public: __thiscall Square::Square(int)" (??0Square@@QAE@H@Z)
Debug/shapeclass.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

shapeclass.exe - 2 error(s), 0 warning(s)
我用的VC,出现这种错误,用别的C++工具也是相同的情况,哪位高手指点一下小弟呢,多谢啦

你的Square类的Square(int )构造函数只有声明没有定义