当前位置:网站首页>竞赛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, }, }
边栏推荐
- Design and implementation of online snack sales system based on b/s (attached: source code paper SQL file)
- 工作流—activiti7环境搭建
- Global and Chinese market of airport kiosks 2022-2028: Research Report on technology, participants, trends, market size and share
- 有软件负载均衡,也有硬件负载均衡,选择哪个?
- [Yu Yue education] reference materials of power electronics technology of Jiangxi University of science and technology
- Global and Chinese market of electronic tubes 2022-2028: Research Report on technology, participants, trends, market size and share
- Global and Chinese market of bank smart cards 2022-2028: Research Report on technology, participants, trends, market size and share
- Why data Tiering
- VH6501学习系列文章
- 单片机实现模块化编程:思维+实例+系统教程(实用程度令人发指)
猜你喜欢

Mapreduce实例(四):自然排序

软件负载均衡和硬件负载均衡的选择

Hard core! One configuration center for 8 classes!

Defensive C language programming in embedded development

MapReduce instance (VI): inverted index

leetcode-14. Longest common prefix JS longitudinal scanning method

Mapreduce实例(六):倒排索引

面渣逆袭:Redis连环五十二问,图文详解,这下面试稳了

Hero League rotation map automatic rotation

【深度学习】语义分割:论文阅读(NeurIPS 2021)MaskFormer: per-pixel classification is not all you need
随机推荐
英雄联盟轮播图自动轮播
May brush question 03 - sorting
基于B/S的医院管理住院系统的研究与实现(附:源码 论文 sql文件)
Counter attack of noodles: redis asked 52 questions in a series, with detailed pictures and pictures. Now the interview is stable
Mapreduce实例(七):单表join
为什么大学单片机课上51+汇编,为什么不直接来STM32
运维,放过监控-也放过自己吧
在CANoe中通过Panel面板控制Test Module 运行(高级)
面试突击62:group by 有哪些注意事项?
Why is 51+ assembly in college SCM class? Why not come directly to STM32
嵌入式開發中的防禦性C語言編程
Take you back to spark ecosystem!
Global and Chinese markets for hardware based encryption 2022-2028: Research Report on technology, participants, trends, market size and share
Regular expressions are actually very simple
MapReduce instance (IV): natural sorting
零基础学习单片机切记这四点要求,少走弯路
工作流—activiti7环境搭建
Oom happened. Do you know the reason and how to solve it?
MySQL数据库优化的几种方式(笔面试必问)
嵌入式开发比单片机要难很多?谈谈单片机和嵌入式开发设计经历