tasks.json { "tasks": [ { "type": "cppbuild", "label": "g++",// 调试会话开始前执行的任务,一般为编译程序,c++为g++, c为gcc 和launch中preLaunchTask保持一致 // "command": "D:/Users/Downloads/mingw64/bin/gcc.exe", "c