vs code 运行C语言
2022.03.19 mingw64下载地址更新(window)
https://www.msys2.org/
滚动界面至Installation 下载.exe
Download the installer: msys2-x86_64-20220128.exe
执行第5步时,看下下面截图
task.json文件修改
// task.json 文件command 值修改
// task.json 文件command 值修改
// task.json 文件command 值修改
{
"tasks": [
{
"type": "cppbuild",
"label": "C/C++: g++.exe build active file",
"command": "本机mingw64的目录\\bin\\g++.exe",
"args": ["-g", "${file}",