摘要: 编译时出现这种问题怎么解决:"unresolvedexternalsymbol__imp__WSACleanup@0"出现此类问题一般是ws2_32.lib这个lib没有link上去。在project->setting->link->object/library modules里面加入ws2_32.lib即可。或者#pragma comment(lib, "Ws2_32.lib") 阅读全文
posted @ 2012-09-20 21:29 hellomsg 阅读(3062) 评论(0) 推荐(1)
摘要: Character values of typeunsignedcharhave a range from 0 to 0xFF hexadecimal. Asignedcharhas range 0x80 to 0x7F. These ranges translate to 0 to 255 decimal,and–128 to +127 decimal, respectively. The /J compiler option changes the default fromsignedtounsigned.char是有符号的unsignedchar是无符号的,里面全是正数两者都作为字符用的 阅读全文
posted @ 2012-09-20 20:22 hellomsg 阅读(433) 评论(0) 推荐(0)