2017年12月13日

摘要: 线程 和 事件中 变量 not captured 把变量定义为 static 或者添加为全局变量(放在main之前) 阅读全文
posted @ 2017-12-13 11:09 lydstory 阅读(94) 评论(0) 推荐(0)

2017年12月11日

摘要: #include <stdio.h>#include <stdlib.h>int main(){ char ch = 'a'; int tmp =(int)ch; if( ch == *(char*)&tmp) printf("little end"); else printf("big end") 阅读全文
posted @ 2017-12-11 13:18 lydstory 阅读(90) 评论(0) 推荐(0)

2017年12月8日

摘要: 选择捕获--》选中本地连接 输入协议端口 例如udp port 909 阅读全文
posted @ 2017-12-08 18:14 lydstory 阅读(80) 评论(0) 推荐(0)
摘要: mstsc 可以把本地驱动器 挂载到服务器上 阅读全文
posted @ 2017-12-08 17:55 lydstory 阅读(168) 评论(0) 推荐(0)
摘要: 原文地址:http://www.cnblogs.com/binbinjx/p/5626916.html 1. 添加头文件目录INCLUDE_DIRECTORIES 语法: 它相当于g++选项中的-I参数的作用,也相当于环境变量中增加路径到CPLUS_INCLUDE_PATH变量的作用。 2. 添加需 阅读全文
posted @ 2017-12-08 14:24 lydstory 阅读(454) 评论(0) 推荐(0)
摘要: all:udps udpcudps:udpserv.c gcc -Wall -o udps udpserv.cudpc:udpclient.c gcc -Wall -o udpc udpclient.cclean: rm udpc udps 阅读全文
posted @ 2017-12-08 10:54 lydstory 阅读(133) 评论(0) 推荐(0)

2017年12月7日

摘要: 查看协议 bind port 阅读全文
posted @ 2017-12-07 22:45 lydstory 阅读(173) 评论(0) 推荐(0)
摘要: http://www.cppblog.com/jerryma/archive/2009/07/23/90947.html 归零:用最简单的程序测试 阅读全文
posted @ 2017-12-07 22:32 lydstory 阅读(250) 评论(0) 推荐(0)
摘要: count=5 while count>0: print 'i love python' count=count-1 else: print 'over' 阅读全文
posted @ 2017-12-07 22:13 lydstory 阅读(224) 评论(0) 推荐(0)
摘要: 本回答由电脑网络分类达人 系统推荐 本回答由电脑网络分类达人 系统推荐 阅读全文
posted @ 2017-12-07 22:04 lydstory 阅读(4482) 评论(0) 推荐(0)

导航