undefined reference to `__imp_WSAStartup'
undefined reference to `__imp_WSAStartup’
in dev c++
工具-编译选项-在连接器命令行加入以下命令
-lws2_32
界面右上角的编译器应该用realease版的!!!右上角!!!
This post is licensed under CC BY 4.0 by the author.