编译器
https://sourceforge.net/projects/mingw-w64/
环境配置
path下添加编译器的bin路径
例:
测试环境
gcc -v
查看路径
gcc -v -E -x c++ -
插件
配置文件
c_cpp_properties.json
{ "configurations": [ { "name": "Win32", "includePath": [ "d:/program/ccccc/bin/../lib/gcc/mingw32/9.2.0/include/c++", "d:/program/ccccc/bin/../lib/gcc/mingw32/9.2.0/include/c++/mingw32", "d:/program/ccccc/bin/../lib/gcc/mingw32/9.2.0/include/c++/backward", "d:/program/ccccc/bin/../lib/gcc/mingw32/9.2.0/include", "d:/program/ccccc/bin/../lib/gcc/mingw32/9.2.0/../../../../include", "d:/program/ccccc/bin/../lib/gcc/mingw32/9.2.0/include-fixed" ], "defines": [ "_DEBUG", "UNICODE", "_UNICODE" ], "cStandard": "c17", "cppStandard": "c++17", "intelliSenseMode": "windows-gcc-x86", "compilerPath": "D:\\Program\\ccccc\\bin\\mingw32-g++.exe" } ], "version": 4 }