当前位置:网站首页>竞赛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, }, }
边栏推荐
- How can I take a shortcut to learn C language in college
- Compilation of libwebsocket
- Hard core! One configuration center for 8 classes!
- How does the single chip microcomputer execute the main function from power on reset?
- Counter attack of noodles: redis asked 52 questions in a series, with detailed pictures and pictures. Now the interview is stable
- May brush question 03 - sorting
- 小白带你重游Spark生态圈!
- Nc29 search in two-dimensional array
- Global and Chinese markets for hardware based encryption 2022-2028: Research Report on technology, participants, trends, market size and share
- [deep learning] semantic segmentation - source code summary
猜你喜欢
随机推荐
Publish and subscribe to redis
Design and implementation of online shopping system based on Web (attached: source code paper SQL file)
51单片机进修的一些感悟
五月刷题01——数组
Why data Tiering
What are the models of data modeling
Single chip microcomputer realizes modular programming: Thinking + example + system tutorial (the degree of practicality is appalling)
Design and implementation of online snack sales system based on b/s (attached: source code paper SQL file)
Global and Chinese markets for modular storage area network (SAN) solutions 2022-2028: Research Report on technology, participants, trends, market size and share
Defensive C language programming in embedded development
Redis connection redis service command
May brush question 02 - string
Cap theory
手把手教您怎么编写第一个单片机程序
五月集训总结——来自阿光
Cooperative development in embedded -- function pointer
If a university wants to choose to study automation, what books can it read in advance?
May brush question 03 - sorting
英雄联盟轮播图手动轮播
51单片机进修的一些感悟