代码详情在图中。
main.cpp:
error: undefined reference to `InsertS(char*, char*, int, int)'
widget.cpp:
error: undefined reference to `GetS(char*, char*, char*)'
collect2.exe:-1: error: error: ld returned 1 exit status
代码详情在图中。
main.cpp:
error: undefined reference to `InsertS(char*, char*, int, int)'
widget.cpp:
error: undefined reference to `GetS(char*, char*, char*)'
collect2.exe:-1: error: error: ld returned 1 exit status