You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
0、TDM GCC 下载
https://dsideal.obs.cn-north-1.myhuaweicloud.com/HuangHai/tdm64-gcc-10.3.0-2.exe
安装时需要注意不要选择连接到服务器进行更新!!! 然后选择Create即可。
# VsCode下载
https://code.visualstudio.com/
https://code.visualstudio.com/sha/download?build=stable&os=win32-x64
# LLVM
https://llvm.org/
https://mirrors.tuna.tsinghua.edu.cn/help/llvm-project.git/
https://mirrors.tuna.tsinghua.edu.cn/github-release/llvm/llvm-project/LLVM%2015.0.7/LLVM-15.0.7-win64.exe
下载后安装,设置到 All Users Path中【非常重要】! 去。
3、在安装完VsCode后, 需要安装以下的插件:
Ctrl+Shift+x 然后输入下面的插件名称后,点击安装即可。
必装插件
(1)、C/C++ (有代码提示功能)插件
(2)、C++ Extension Pack
(3)、Chinese
(4)、Clang-Format
(5)、Code Runner 插件
(6)、Remove Comments 使用方法Ctrl+Shift+P ,选择 Remove Comments, 一切都平静了~ 同名插件有多个, 选择: rioj7 1.5版本
(7)、Markdown All in One
(8)、Markdown Preview Enhanced
4、运行“还原全局配置.cmd”
5、将Work目录复制到D盘根目录( 如果没有D盘, 就放到C盘根目录下)
6、以后再学习C++代码时, 直接在Work目录下创建文件即可, 比如123.cpp
7、新创建的cpp文件后, 输入 cpp 然后回车,就可以自动完成框架模板的输入了。
Enjoy ~
Q:VSCode中右键跳转到定义时提示找不到 `xxx` 的定义的解决方案
A:下载安装 或 重新安装 "C/C++"插件即
DevChat
Your Access Key:
DC.eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJvcmdfaWQiOjgyMzYyNjE3NzQ4LCJqdGkiOjcyNjU1MjgzMzE4NzczMjk4NjZ9.9r0l815u5Dz0VjDyoL5ZU3yR-hQHRBHRemMT8-UoMxg