vscode 配置C/C++环境 出现问题 could not find the task 'g++' / 'gcc'
1. tasks.json 中 tasks 的 label 项必须和 launch.json 的 preLaunchTask 相对应
2. task中的type类型必须是shell,如下:"type": "shell",
1. tasks.json 中 tasks 的 label 项必须和 launch.json 的 preLaunchTask 相对应
2. task中的type类型必须是shell,如下:"type": "shell",