解决了, 在 .vscode 文件夹内修改 c_cpp_properties.json文件
{ "configurations": [ { "name": "Win32", "includePath": [ "C:/mingw64/include" ], "compilerPath": "C:/mingw64/bin/gcc.exe", "cStandard": "c17", "cppStandard": "c++23", "intelliSenseMode": "gcc-x64" } ], "version": 4}