windows下安装简单MinGW编译环境
一、下载
二、安装
点击对应的Package,选择Mark for Installation
点击Installation->Apply Changes
三、将MinGW\bin配置到系统环境变量中
四、notepad++新建下列编译运行命令
cmd /k gcc -o $(CURRENT_DIRECTORY)\$(NAME_PART).exe "$(FULL_CURRENT_PATH)" &cmd /k "$(CURRENT_DIRECTORY)\$(NAME_PART)" & PAUSE & EXIT