需path中设置好mingw
lib libexec include
g++ -o test.exe test.cpp
https://blog.youkuaiyun.com/qq_39422827/article/details/78512720
NOTEPAD++中设置Mingw编译的方式
运行-运行中设置如下,然后快捷键设置为ctrl+f5
cmd /k cd /d "$(CURRENT_DIRECTORY)" & g++ "$(FILE_NAME)" -o "$(NAME_PART)" & "$(NAME_PART).exe"
参考
https://www.bilibili.com/video/av24657288/?spm_id_from=trigger_reload
g++编译命令各参数解释
https://www.cnblogs.com/CodeWorkerLiMing/p/10805711.html
g++编译多个C++文件
https://blog.youkuaiyun.com/wulong710/article/details/80327225