1. get a icon file name “logo.ico”
2. create an file name “logo.rc”, contain a line:
1 ICON “icon.ico”
3. run : (windres was include in Mingw)
windres logo.rc logo.o
4. link the “logo.o” file together with other object files to the final exe file.
嗯,谢谢啦,我去试试。