vscode 为什么找不到.h中的函数 undefined reference to xxx函数
tasks.json文件中的args改成
"args": [
"-g",
"${workspaceFolder}\\*.c",
"-o",
"${fileDirname}\\${fileBasenameNoExtension}.exe"
],
vscode 为什么找不到.h中的函数 undefined reference to _imp_xxx函数
"args": [
"-g",
"${workspaceFolder}\\*.c",
"-lws2_32",
"-o",
"${fileDirname}\\${fileBasenameNoExtension}.exe"
],