首先,在 https://sourceforge.net/projects/mingw/files/latest/download 下载安装MinGW,如下图所示: 点Installation->Basic Setup,安装里面所有选项. 然后点Installation->Apply all changes.,找到mingw32-gcc.bin(c语言编译器), mingw32-gcc-g++.bin(c++编译器), 和mingw32-gdb.bin(用来调试编译后文件),安装这三个编译器,…