vscode 多文件编译

文件 -> 首选项 -> 设置,然后在设置页面搜索Code Runner,找到Code Runner的ExecutorMap设置。点击在settings.json中编辑后,打开settings.json文件如图,找到executorMap设置项,在其中c程序对应的一行,修改其中的gcc $filename为gcc *.c

参考来源:https://jingyan.baidu.com/article/2f9b480d7ceb3d01ca6cc224.html

posted @ 2020-12-27 16:17  xiaonihao444  阅读(441)  评论(0编辑  收藏  举报