下載MinGW 鏈接:https://sourceforge.net/projects/mingw-w64/ 點擊Files image.png 下載,不要選安裝包 image.png 解壓后bin目錄包含g++ 路徑加入到系統環境PATH即可