Ale*_*ger 2 c++ windows linker winsock
函数ntohl为我提供了一个链接器错误:
error LNK2001: unresolved external symbol _ntohl@4
fatal error LNK1120: 1 unresolved externals
Run Code Online (Sandbox Code Playgroud)
我已经包括在内
#include <winsock.h>
Run Code Online (Sandbox Code Playgroud)
有具体原因吗?(或者可以手动轻松完成此功能吗?)