一个程序可以编译好 连接不好出现这样的提示,为什么??
是一个c++的程序
编译好以后连接出现这样的问题
--------------------Configuration: cmdshell - Win32 Debug--------------------
Linking...
cmdshell.obj : error LNK2001: unresolved external symbol _send@16
cmdshell.obj : error LNK2001: unresolved external symbol _accept@12
cmdshell.obj : error LNK2001: unresolved external symbol _listen@8
cmdshell.obj : error LNK2001: unresolved external symbol _bind@12
cmdshell.obj : error LNK2001: unresolved external symbol _htonl@4
cmdshell.obj : error LNK2001: unresolved external symbol _htons@4
cmdshell.obj : error LNK2001: unresolved external symbol _socket@12
cmdshell.obj : error LNK2001: unresolved external symbol _WSAStartup@8
Debug/cmdshell.exe : fatal error LNK1120: 8 unresolved externals
Error executing link.exe.
cmdshell.exe - 9 error(s), 0 warning(s)
为什么
谢谢