Mac上XCode太占空间,卸载然后安装VSCode和Clang。在VSCode中再安装extension C/C++和Code Runner,配置Tasks: Configure Task,就可以开始Run C++ program了。
Visual Studio Code - Code Editing. Redefined
- https://code.visualstudio.com/
Clang - Wikipedia
- https://en.wikipedia.org/wiki/Clang
- Clang is a for the , , and , as well as the , , and frameworks. It uses the compiler infrastructure as its and has been part of the LLVM since LLVM 2.6.
- It is designed to act as a drop-in replacement for the (GCC), supporting most of its compilation flags and unofficial language extensions. Its contributors include , , , , , and (AMD). It is , with released under the , a .
- The Clang project includes , a and several code analysis tools.
Comparing Clang to other open source compilers
- https://clang.llvm.org/comparison.html
Clang C/C++ Download and Installation Instructions
- https://www.ics.uci.edu/~pattis/common/handouts/macclion/clang.html
VS Code 最强插件指南 - CSDN
- https://mp.weixin.qq.com/s/MshppwwRFmbFx3aR7FVpEQ
在用VSCode? 看完这篇文章, 开发效率翻倍!
- https://mp.weixin.qq.com/s/XiT6uNQPIPGvkLbUcPnRqw
VS Code 神器插件:代码一键运行,支持超过 40 种语言 - CSDN
- https://mp.weixin.qq.com/s/bND98wd2mjdQXFWnRzskiw
Web 版 VS Code 来了!
不容错过的 Visual Studio Code 十大扩展组件
Vscode 小白使用介绍
用 VSCode 写 python 的正确姿势
来安装一个酷炫的 VS Code 主题
How to change the launched folder ?
- Navigate to your project folder and type
code .
- The Visual Studio Code Command Line Options
- https://code.visualstudio.com/docs/editor/command-line#_launching-from-command-line