急!ntohl函数怎么用?
#include <winsock2.h>
不知道怎么用ntohl,如
main() {
u_long v,s;
s=0x23;
s=ntohl(v);
} 出现
Linking...
2.obj : error LNK2001: unresolved external symbol __imp__ntohl@4
Debug/2.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.的问题
关于error LNK2001: unresolved external symbol常见问题是不是因为库函数本身不可用?