学习类时 刚开始编译成功 并运行成功 之后在运行时就出错了 错误如下 怎么解决啊
--------------------Configuration: MyMain - Win32 Debug--------------------
Compiling...
MyMain.cpp
Linking...
MyMain.obj : error LNK2001: unresolved external symbol "public: __thiscall Stock::~Stock(void)" (??1Stock@@QAE@XZ)
MyMain.obj : error LNK2001: unresolved external symbol "public: void __thiscall Stock::show(void)" (?show@Stock@@QAEXXZ)
MyMain.obj : error LNK2001: unresolved external symbol "public: __thiscall Stock::Stock(char const *,int,double)" (??0Stock@@QAE@PBDHN@Z)
Debug/MyMain.exe : fatal error LNK1120: 3 unresolved externals
执行 link.exe 时出错.
MyMain.exe - 1 error(s), 0 warning(s)来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/2310/viewspace-3148042/ ,如需转载,请注明出处,否则将追究法律责任。