C++开发环境搭建-vscode

参考链接

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位

  1. 安装编译器和gdb
sudo apt install build-essential gdb
  1. 检查编译器和调试器是否已经安装成功
whereis g++
whereis gdb
  1. 安装vscode
  2. vscode安装扩展插件
- C/C++
- cmake
- cmake tools
  1. 操作一遍用户手册 https://code.visualstudio.com/docs/cpp/config-wsl, 可以熟悉调试运行C++的操作
  2. 操作一遍cmake tools手册,熟悉cmake的使用和程序的构建 https://vector-of-bool.github.io/docs/vscode-cmake-tools/getting_started.html

Windows

TODO:待补充


欢迎各位大佬右侧点赞、关注、打赏,我们再会。。。


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章