工作区没有检测到错误
终端显示信息如下:
> Executing task in folder Codes: D:\MinGW\bin\g++.exe -g c:\Users\lenovo\Documents\Codes\exp9\9-2\main.cpp -o main.exe <
d:/mingw/bin/../lib/gcc/mingw32/8.2.0/../../../../mingw32/bin/ld.exe: C:\Users\lenovo\AppData\Local\Temp\ccv0rkaB.o: in function `main':
c:/Users/lenovo/Documents/Codes/exp9/9-2/main.cpp:9: undefined reference to `Stack::Stack(int)'
d:/mingw/bin/../lib/gcc/mingw32/8.2.0/../../../../mingw32/bin/ld.exe: c:/Users/lenovo/Documents/Codes/exp9/9-2/main.cpp:9: undefined reference to `Stack::~Stack()'
collect2.exe: error: ld returned 1 exit status
终端进程已终止,退出代码: 1
终端将被任务重用,按任意键关闭。
慕设计2395807
onemoo
Codeli