新建一个settings.json,输入如下就可以了.目录需要该一下

C++如下
"code-runner.executorMap": {
"cpp": "cd $dir && g++ -std=c++11 $fileName -D LOCAL -o C:/Cpp/exe/$fileNameWithoutExt.exe && C:/Cpp/exe/$fileNameWithoutExt.exe"
},
新建一个settings.json,输入如下就可以了.目录需要该一下
C++如下
"code-runner.executorMap": {
"cpp": "cd $dir && g++ -std=c++11 $fileName -D LOCAL -o C:/Cpp/exe/$fileNameWithoutExt.exe && C:/Cpp/exe/$fileNameWithoutExt.exe"
},
本文标题:VsCode的CodeRunner生成重定向
本文链接:https://www.haomeiwen.com/subject/uwohektx.html
网友评论