解决vscode在编译c++时报错“The PrelaunchTask ‘g++‘ terminated with exit code 1“
如果你的配置文件task.json文件是这么写的话{"version":"2.0.0","command":"g++","args":["-g","${file}","-o","${fileDirname}/build/${fileBasenameNoExtension}.exe",//指定输出文件名],"problemMatcher":{"owner":"cpp","fileLocation":