参考链接
https://code.visualstudio.com/docs/cpp/config-mingw
https://code.visualstudio.com/docs/cpp/config-wsl
https://code.visualstudio.com/docs/editor/variables-reference
https://vector-of-bool.github.io/docs/vscode-cmake-tools/index.html
Linux
ubuntu16.04 64位
- 安装编译器和gdb
sudo apt install build-essential gdb
- 检查编译器和调试器是否已经安装成功
whereis g++
whereis gdb
- 安装vscode
- vscode安装扩展插件
- C/C++
- cmake
- cmake tools
- 操作一遍用户手册 https://code.visualstudio.com/docs/cpp/config-wsl, 可以熟悉调试运行C++的操作
- 操作一遍cmake tools手册,熟悉cmake的使用和程序的构建 https://vector-of-bool.github.io/docs/vscode-cmake-tools/getting_started.html
Windows
TODO:待补充
欢迎各位大佬右侧点赞、关注、打赏,我们再会。。。