08 2015 档案
摘要:转自http://www.cnblogs.com/lancidie/archive/2011/12/19/2293773.html
阅读全文
摘要:转自:http://m.blog.csdn.net/blog/qingfengjuechen/38557137
阅读全文
摘要:转自博客:http://blog.163.com/xhyzdai@126/blog/static/732533112011111544957703error C2065: 'WSASocket' : undeclared identifiererror C2065: 'WSABUF' : undec...
阅读全文
摘要:import java.io.UnsupportedEncodingException;public class T { public static void main(String[] args) throws UnsupportedEncodingException { t1();//ASCI...
阅读全文
摘要:#include #include #include #include int main() { int i,v; char bs[33]; char b[33]; char hs[9]; char h[9]; char s[4]; char *e;// 十...
阅读全文
摘要:for(int buffer_len=1;buffer_len=0x41)){//第二位 'A'-'F' WriteBuffer[check_len] += (buffer[buffer_len]-0x37);// buffer_len++; }else if((buffer[buf...
阅读全文
摘要:在写串口通讯的时候遇到一个小问题 问题描述: 1 hCom = CreateFile(tmp_serial,//串口名称2 GENERIC_READ|GENERIC_WRITE,//允许读写3 ...
阅读全文
摘要:用MFC写了个跟打印机相关的小应用由于需要接受网络服务端传来的数据 所以就用到了socket通信socket 创建 连接 发送 接收 关闭其他都还好 只是接收数据的时候 会出现乱码出现的情况是 当有中文字符出现的时候就会出现,这是因为每个中文字符占两个字节所以接收数据的时候要一个字节一个字节的接收,...
阅读全文

浙公网安备 33010602011771号