參考鏈接
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:待補充
歡迎各位大佬右側點贊、關注、打賞,我們再會。。。