2. 下載 MinGW-w64
- 打開 File Explorer
檔案總管
- 右鍵 This PC
我的電腦 - 左鍵 Properties
內容
- 右鍵 This PC
- 點擊 Advanced system settings
進階系統設定

- 點擊 Environment Variables
環境設定

- 點擊系統變數裡的 Path
路境,在點擊 Edit修改

- 點擊 New
新增,輸入 C:\Mingw64\mingw64\bin3-3建立的位置

- 重啟 Visual Studio Code
- 執行環境
- 按
F1 - 輸入
C/C++: Edit Configurations (UI) - 點擊
C/C++: Edit Configurations (UI)

- Configuration name:
Win32 - Compiler path:
C:/Mingw64/mingw64/bin/g++.exe - IntelliSense mode:
gcc-x64

- 開始執行 C++












