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:待補充


歡迎各位大佬右側點贊、關注、打賞,我們再會。。。


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