当前位置:网站首页>竞赛vscode配置指南
竞赛vscode配置指南
2022-07-06 09:04:00 【vv1025】
将下面内容填充到setting.json
- 为使目录变的简洁,编译生成的.exe文件均会被命名为a.exe,如果有新编译的程序,则会自动替换掉原来的。这样文件夹中就不会乱糟糟的了
- 如果你不想要这个效果,可以修改第76行
{ "files.associations": { "ostream": "cpp", "*.tcc": "cpp", "atomic": "cpp", "bitset": "cpp", "chrono": "cpp", "complex": "cpp", "deque": "cpp", "forward_list": "cpp", "list": "cpp", "string": "cpp", "unordered_map": "cpp", "unordered_set": "cpp", "vector": "cpp", "iterator": "cpp", "memory_resource": "cpp", "optional": "cpp", "string_view": "cpp", "fstream": "cpp", "future": "cpp", "istream": "cpp", "scoped_allocator": "cpp", "shared_mutex": "cpp", "sstream": "cpp", "streambuf": "cpp", "system_error": "cpp", "thread": "cpp", "functional": "cpp", "regex": "cpp", "tuple": "cpp", "valarray": "cpp", "iosfwd": "cpp", "iostream": "cpp", "random": "cpp", "array": "cpp", "initializer_list": "cpp", "iomanip": "cpp", "cctype": "cpp", "cfenv": "cpp", "charconv": "cpp", "cinttypes": "cpp", "clocale": "cpp", "cmath": "cpp", "codecvt": "cpp", "condition_variable": "cpp", "csetjmp": "cpp", "csignal": "cpp", "cstdarg": "cpp", "cstddef": "cpp", "cstdint": "cpp", "cstdio": "cpp", "cstdlib": "cpp", "cstring": "cpp", "ctime": "cpp", "cuchar": "cpp", "cwchar": "cpp", "cwctype": "cpp", "exception": "cpp", "algorithm": "cpp", "map": "cpp", "memory": "cpp", "numeric": "cpp", "ratio": "cpp", "set": "cpp", "type_traits": "cpp", "utility": "cpp", "limits": "cpp", "mutex": "cpp", "new": "cpp", "stdexcept": "cpp", "typeindex": "cpp", "typeinfo": "cpp" }, "code-runner.executorMap": { "cpp": " cd $dir && g++ $fileName -D LOCAL -o a.exe && .\\a.exe", }, }2
点击在settings.json中编辑
将下面配置填入文件
注意其中第7行和第10行务必根据自己实际情况填写,如果严格跟随本教程,则直接复制即可
{ "explorer.confirmDelete": false, "debug.onTaskErrors": "showErrors", "explorer.confirmDragAndDrop": false, "code-runner.saveFileBeforeRun": true, "code-runner.runInTerminal": true, "C_Cpp.default.compilerPath": "C:\\mingw64\\bin\\g++.exe", "C_Cpp.default.cppStandard": "c++14", "C_Cpp.default.includePath": [ "C:\\mingw64\\lib" ], "C_Cpp.default.intelliSenseMode": "gcc-x64", "files.autoGuessEncoding": true, }, }
边栏推荐
- Processes of libuv
- Global and Chinese markets of SERS substrates 2022-2028: Research Report on technology, participants, trends, market size and share
- 大学C语言入门到底怎么学才可以走捷径
- 六月刷题01——数组
- A wave of open source notebooks is coming
- Teach you how to write the first MCU program hand in hand
- Mapreduce实例(四):自然排序
- Workflow - activiti7 environment setup
- Redis distributed lock implementation redison 15 questions
- 【深度學習】語義分割-源代碼匯總
猜你喜欢

What are the models of data modeling

Hero League rotation map automatic rotation

一大波開源小抄來襲

大学C语言入门到底怎么学才可以走捷径
[Yu Yue education] Wuhan University of science and technology securities investment reference

MapReduce instance (IV): natural sorting

Elk project monitoring platform deployment + deployment of detailed use (II)

手把手教您怎么编写第一个单片机程序

Une grande vague d'attaques à la source ouverte

英雄联盟轮播图自动轮播
随机推荐
068.查找插入位置--二分查找
Yarn organizational structure
大学C语言入门到底怎么学才可以走捷径
Global and Chinese market of electronic tubes 2022-2028: Research Report on technology, participants, trends, market size and share
Meituan Er Mian: why does redis have sentinels?
Solve the problem of too many small files
基于B/S的医院管理住院系统的研究与实现(附:源码 论文 sql文件)
小白带你重游Spark生态圈!
机械工程师和电气工程师方向哪个前景比较好?
Nc29 search in two-dimensional array
Workflow - activiti7 environment setup
The real future of hardware engineers may not be believed by you if I say so
【深度学习】语义分割:论文阅读(NeurIPS 2021)MaskFormer: per-pixel classification is not all you need
MapReduce instance (IV): natural sorting
Programmation défensive en langage C dans le développement intégré
Why is 51+ assembly in college SCM class? Why not come directly to STM32
为拿 Offer,“闭关修炼,相信努力必成大器
[deep learning] semantic segmentation - source code summary
Global and Chinese market of AVR series microcontrollers 2022-2028: Research Report on technology, participants, trends, market size and share
[Yu Yue education] Wuhan University of science and technology securities investment reference