Originally, I installed an Ubuntu using Wubi on my company's laptop (Lenovo W520). One purpose is for fun, the other is to use some instant messengers...
分类:
其他好文 时间:
2014-06-30 12:26:40
阅读次数:
326
条件操作符是向右关联的,从左到右进行计算,于是a?b:c?d:e 应理解为 a?b:(c?d:e)。在c#2.0里面实现了Nullable数据类型,放弃对object数据进行 if(object==null)这样的判断了。同时你会发现,在数据库应用上,数据库中有的字段允许取空值,在C#世界中引入nu...
分类:
其他好文 时间:
2014-06-30 12:27:39
阅读次数:
171
At present, there is a package named cvsd, which is a wrapper for cvs server running in pserver mode, so the cvs server configuration is easier than b...
分类:
其他好文 时间:
2014-06-30 12:28:42
阅读次数:
282
必须接受marryprotocol协议, id基于类型的限定, 才能给实例变量赋值@property (nonatomic, assign) id husband;避免Optitonal没有实现的功能 if ([_husband respondsToSelector:@selector(drive....
分类:
其他好文 时间:
2014-06-30 12:29:43
阅读次数:
203
1,导入struts2开发的jar包和struts2-jfreechart-plugin-2.3.16.3.jar2,web.xml配置 Struts2JFreeChart index.html index.htm index.jsp default.html d...
分类:
其他好文 时间:
2014-06-30 12:32:51
阅读次数:
219
GNU Autotools can not only handle making (compiling and linking), distributing, transplanting source code for different platforms, but can also track ...
分类:
其他好文 时间:
2014-06-30 12:33:53
阅读次数:
400
字典树+并查集。 1 #include 2 #include 3 #include 4 5 #define MAXN 500005 6 #define MAXL 11 7 #define TRIEN 26 8 9 typedef struct Trie { 10 ...
分类:
其他好文 时间:
2014-06-30 12:36:50
阅读次数:
224
今天折腾了四个小时才把这个正确安装上,特此记录下。特别感谢群友的支持。在VMware上新安装了Debain7.5,具体细节不复述了。一、更新系统#apt-get update#apt-get upgrade二、构建编译环境#apt-get install build-essential#apt-ge...
分类:
其他好文 时间:
2014-06-30 12:38:53
阅读次数:
247
为什么选择跳表目前经常使用的平衡数据结构有:B树,红黑树,AVL树,Splay Tree, Treep等。想象一下,给你一张草稿纸,一只笔,一个编辑器,你能立即实现一颗红黑树,或者AVL树出来吗? 很难吧,这需要时间,要考虑很多细节,要参考一堆算法与数据结构之类的树,还要参考网上的代码,相当麻烦。用...
分类:
其他好文 时间:
2014-06-30 12:39:53
阅读次数:
257
DDLogic框架着重解决如下这几个点:基于Task的任务调度事件的订阅与发布pdu通信协议以及拆装包过程基于WSAAsyncSelect模型的网络异步I/O TCP/IP长连接业务模块拆分以及模块与模块之间通过接口交互持久化数据以及基于此数据之上的一层数据监听机制(类似IDE工具调试的 Watch...
分类:
其他好文 时间:
2014-06-30 12:41:57
阅读次数:
336
UIImageView,顾名思义,是用来放置图片的。使用Interface Builder设计界面时,当然可以直接将控件拖进去并设置相关属性,这就不说了,这里讲的是用代码。1、创建一个UIImageView:创建一个UIImageView对象有五种方法:UIImageView *imageView1...
分类:
其他好文 时间:
2014-06-30 12:40:57
阅读次数:
207
Recently, I needed to call a CUI program from within Qt GUI window and simulate the effect of an embedded command line window like the Autolisp consol...
分类:
其他好文 时间:
2014-06-30 12:45:02
阅读次数:
1252
[反汇编练习] 160个CrackMe之021. 本系列文章的目的是从一个没有任何经验的新手的角度(其实就是我自己),一步步尝试将160个CrackMe全部破解,如果可以,通过任何方式写出一个类似于注册机的东西。 其中,文章中按照如下逻辑编排(解决如下问题): 1、使用什么环境和工具 2、程序分析 ...
分类:
其他好文 时间:
2014-06-30 12:44:03
阅读次数:
436
Fortran has two kinds of subprograms: subroutine and function. Usually, subroutine is a combination of several procedures generating side effects with...
分类:
其他好文 时间:
2014-06-30 12:43:00
阅读次数:
207
1 import java.awt.event.InputEvent; 2 3 import javax.swing.KeyStroke; 4 5 /** 6 * class KeyEvent: include many static key 7 * class KeyStroke: g...
分类:
其他好文 时间:
2014-06-30 12:46:06
阅读次数:
229
转:http://blog.csdn.net/fwj380891124/article/details/8139260 就像属性系统在WPF中得到了升级、进化为依赖属性一样,事件系统在WPF也得到了升级。进化成为了路由事件(Routed Event),并在其基础上衍生出命令传递机制。这些机制在很大程...
分类:
其他好文 时间:
2014-06-30 12:48:10
阅读次数:
239
教育部学位中心发布的2012年全国高校学科评估结果中,列出了36个工学学科的学科整体水平得分,供考生和家长填报志愿参考。力学、机械工程、光学工程、仪器科学与技术、材料科学与工程、冶金工程、电气工程、计算机科学与技术……哪些大学排在前列,请戳大图
分类:
其他好文 时间:
2014-06-30 12:47:06
阅读次数:
200