C:/Users/17831/Downloads/gytx_x86_64-12.1.0-posix-seh/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\17831\AppData\Local\Temp\cc3TzCom.o:C:\Users\17831\Desktop\VSCODE/main.c:9: undefined reference to `test()'
collect2.exe: error: ld returned 1 exit status
* 终端进程“C:\Users\17831\Downloads\gytx_x86_64-12.1.0-posix-seh\mingw64\bin\g++.exe '-std=c++14', '-g', 'C:\Users\17831\Desktop\VSCODE\main.c', '-o', 'C:\Users\17831\Desktop\VSCODE\main.exe'”已终止,退出代码: 1。
ps:保证main 模块.c .h都是对的
collect2.exe: error: ld returned 1 exit status
* 终端进程“C:\Users\17831\Downloads\gytx_x86_64-12.1.0-posix-seh\mingw64\bin\g++.exe '-std=c++14', '-g', 'C:\Users\17831\Desktop\VSCODE\main.c', '-o', 'C:\Users\17831\Desktop\VSCODE\main.exe'”已终止,退出代码: 1。
ps:保证main 模块.c .h都是对的