DescriptionOn a grid map there are n little men
and n houses. In each unit time, every little man can move one unit step, either
horizontally, or vert...
分类:
其他好文 时间:
2014-07-22 23:15:37
阅读次数:
331
http://blog.csdn.net/iicy266/article/details/11906189这篇文章很好,提醒我们熟悉函数原型的重要性
分类:
其他好文 时间:
2014-07-22 23:15:36
阅读次数:
283
一、简介REmoteDIctionaryServer(Redis),redis是一个基于内存的单机key/value系统,类似memcached,但支持value为多种形式,包括:字符串(string)、链表(list)、集合(set)、有序集合(sortedset)和hashtable二、特点1优...
分类:
其他好文 时间:
2014-07-22 23:14:34
阅读次数:
462
集合“分为 Collection(接口):存放单一元素,里面就是他的值。 Map(接口)
存放键值对,一个键对应他的值。Collection下面又有两个接口List:元素有顺序的排列,就是说放进去什么顺序就是什么顺序,里面的元素也是可以重复的Set:元素没有顺序,不是实际上的没有顺序,只是他不是按....
分类:
其他好文 时间:
2014-07-22 23:14:13
阅读次数:
317
大家应该知道在Spring中有一个注解@Value,他可以帮助我们来讲Spring加载的配置文件(*.perperties)文件中的信息自动的注入到我们的非静态属性中的。一般情况下我们会这样使用:1.
首先在Spring的配置文件中加载属性文件:然后在Java代码中使用@Value注解就可以注入值....
分类:
其他好文 时间:
2014-07-22 23:13:56
阅读次数:
302
/************ PID算法(C语言) ************/ #include
#include struct _pid { int pv; /*integer that contains the process value*/ int
sp; /*integ...
分类:
编程语言 时间:
2014-07-22 23:12:56
阅读次数:
447
[share]path=/home/an/shareavailable=yesbrowse
able=yespublic=yeswritable=yessecurity = userusername map =
/etc/samba/smbusers[share]comment = Shared F...
分类:
其他好文 时间:
2014-07-22 23:11:34
阅读次数:
332
qt中控件在预编译过程中就已经加载,不能使用带参数的宏或者函数指针代替,必须要保证 预处理后
控件名字存在
分类:
其他好文 时间:
2014-07-22 23:09:55
阅读次数:
241
1、要使用Dictionary集合,需要导入C#泛型命名空间
System.Collections.Generic(程序集:mscorlib)2、描述
1)、从一组键(Key)到一组值(Value)的映射,每一个添加项都是由一个值及其相关连的键组成 2)、任何键都必须是唯一的 3)、键...
分类:
其他好文 时间:
2014-07-22 23:08:55
阅读次数:
292
List类Vector和ArrayList的区别:1版本不同,Vector属于jdk1.0,而ArrayList属于jdk1.2后的版本。2,效率上ArrayList比Vector要高,同时vector线程安全,而arraylist线程不安全。ArrayList与LinkedList的区别:1,结构...
分类:
其他好文 时间:
2014-07-22 23:07:12
阅读次数:
237