当前位置:网站首页>竞赛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, }, }
边栏推荐
- In order to get an offer, "I believe that hard work will make great achievements
- 为拿 Offer,“闭关修炼,相信努力必成大器
- C#/. Net phase VI 01C Foundation_ 01: running environment, process of creating new C program, strict case sensitivity, meaning of class library
- Leetcode:608 树节点
- The real future of hardware engineers may not be believed by you if I say so
- 33岁可以学PLC吗
- CAPL 脚本打印函数 write ,writeEx ,writeLineEx ,writeToLog ,writeToLogEx ,writeDbgLevel 你真的分的清楚什么情况下用哪个吗?
- 【深度学习】语义分割:论文阅读:(2021-12)Mask2Former
- Global and Chinese market of bank smart cards 2022-2028: Research Report on technology, participants, trends, market size and share
- 单片机实现模块化编程:思维+实例+系统教程(实用程度令人发指)
猜你喜欢
MapReduce instance (VIII): Map end join
Segmentation sémantique de l'apprentissage profond - résumé du code source
大学C语言入门到底怎么学才可以走捷径
Minio distributed file storage cluster for full stack development
33岁可以学PLC吗
Mapreduce实例(七):单表join
MapReduce instance (V): secondary sorting
What you have to know about network IO model
零基础学习单片机切记这四点要求,少走弯路
[deep learning] semantic segmentation: paper reading: (CVPR 2022) mpvit (cnn+transformer): multipath visual transformer for dense prediction
随机推荐
51单片机进修的一些感悟
嵌入式开发比单片机要难很多?谈谈单片机和嵌入式开发设计经历
听哥一句劝,按这套嵌入式的课程内容和课程体系去学习
Mapreduce实例(五):二次排序
Activiti7工作流的使用
[Yu Yue education] reference materials of power electronics technology of Jiangxi University of science and technology
CANoe的数据回放(Replay Block),还是要结合CAPL脚本才能说的明白
Global and Chinese market of electric pruners 2022-2028: Research Report on technology, participants, trends, market size and share
五月刷题26——并查集
工作流—activiti7环境搭建
Interview shock 62: what are the precautions for group by?
Counter attack of noodles: redis asked 52 questions in a series, with detailed pictures and pictures. Now the interview is stable
Full stack development of quartz distributed timed task scheduling cluster
Global and Chinese market of airport kiosks 2022-2028: Research Report on technology, participants, trends, market size and share
Libuv thread
Redis分布式锁实现Redisson 15问
一文读懂,DDD落地数据库设计实战
五月刷题27——图
有软件负载均衡,也有硬件负载均衡,选择哪个?
Global and Chinese market of electronic tubes 2022-2028: Research Report on technology, participants, trends, market size and share