1、安装vsftp yum install vsftpd2、配置vsftp 配置文件在
/etc/vsftpd/vsftpd.conf,建议把匿名登录关闭 anonymous_enable=NO3、设置vsftp为开机启动 chkconfig
vsftpd on 通过chkconfig –list可...
分类:
其他好文 时间:
2014-04-30 04:35:59
阅读次数:
506
计数排序(Counting
sort)是一种稳定的排序算法。计数排序使用一个额外的数组C,其中第i个元素是待排序数组A中值小于等于i的元素的个数。然后根据数组C来将A中的元素排到正确的位置。限制:所有值得取值范围不能太大,并且需要知道确切的取值范围。本算法需要的辅助空间要求较高。当输入的元素是
n ...
分类:
其他好文 时间:
2014-04-28 17:13:54
阅读次数:
558
参考文档:http://hi.baidu.com/posinfo/item/dc3e73584c535cc9d2e10c27 C++
sort函数用法FROM:http://hi.baidu.com/blackdemonfish/blog/item/e2c1d655d702a45ed0090652....
分类:
编程语言 时间:
2014-04-28 14:22:25
阅读次数:
706
高德地理逆地理编码接口List> lists =
coder.getFromLocation(33.00, 116.500, 3, 3, 3, 500);Address addres =
address.get(0);addres.getCoun...
分类:
其他好文 时间:
2014-04-28 13:03:32
阅读次数:
479
答:泛型是 C# 2.0 开始引入的一种更加灵活、规范的数据操作机制,看例子: class
Student{} 假设有学生对象需要存入集合,再提取出来 ArrayList list = new ArrayList(); //1、实例化 list
集合对象 Student s = new Studen...
分类:
其他好文 时间:
2014-04-28 12:10:06
阅读次数:
520
这个问题困扰了挺久,网上找了挺多方法 都太好使。分几种情况。1.如果查询结果
转换,那比较容易。var q = from c in db.Customers where c.Country == "UK" || c.Country ==
"USA" select new { ...
分类:
其他好文 时间:
2014-04-28 11:56:12
阅读次数:
620
由于数组具有属性单一,长度不可改变的缺点,于是在程序中我们使用集合来代替它。集合中不可放入基本数据类型,基本数据类型都是通过自动拆包和自动装箱功能才能放入和取出集合。分类:Collection接口和Map接口Collection:存放单一值元素,又可分为list接口类型和set接口类型
...
分类:
编程语言 时间:
2014-04-28 11:20:31
阅读次数:
582
ArrayList:public class ArrayListextends
AbstractListimplements List, RandomAccess, Cloneable, SerializableList
接口的大小可变数组的实现。实现了所有可选列表操作,并允许包括 null 在内的...
分类:
编程语言 时间:
2014-04-28 01:31:46
阅读次数:
834
description:given two sorted singly list, merge
them into one using constant additional spacealgorithm:we will reference the two
linked list as list1 ...
分类:
其他好文 时间:
2014-04-28 00:32:52
阅读次数:
711
《Introduction to Data Mining》 《Data Mining :
Concepts and Techniques》 《Introduction to Machine Learning》 《机器学习:实用案例解析》
《Pattern Recognition and Machin...
分类:
其他好文 时间:
2014-04-27 23:32:07
阅读次数:
526