/// /// 创建验证码 /// /// private string GenerateCheckCode() { int number; char code; string checkCode = String.Empty; ...
分类:
Web程序 时间:
2014-07-16 23:12:18
阅读次数:
205
isset()测试$a = '';isset($a); // true$a = FALSE;var_dump(isset($a)); // true$a = NULL;var_dump(isset($a)); //false$a = TRUE;var_dump(isset($a)); //truee...
分类:
其他好文 时间:
2014-07-07 18:44:09
阅读次数:
245
Given a stringsconsists of upper/lower-case alphabets and empty space characters' ', return the length of last word in the string.If the last word doe...
分类:
其他好文 时间:
2014-07-07 15:30:23
阅读次数:
169
perl treat 0 false, non 0 ture.print "false\n" if 0;print "false\n" if 0;------------------------tureperl treat string empty is false.my $temp = "";pr...
分类:
其他好文 时间:
2014-07-02 00:41:06
阅读次数:
195
1.float类型
float列类型默认长度查不到结果,必须指定精度,
比如 num float, insert into table (num) values (0.12); select * from table where num=0.12的话,empty set。
num float(9,7), insert into table (num) values (0.12); selec...
分类:
数据库 时间:
2014-07-01 11:09:56
阅读次数:
308
django模板系统学习笔记之for
在for标签里面,有以下知识点:
forloop.counter
forloop.counter0
forloop.first
forloop.last
forloop.revcounter
forloop.revcounter0
froloop.parentloop
empty
下面我们举例学习:
首先到我们的工程目录下,敲入:
pythonmanage.pyshell
#..
分类:
其他好文 时间:
2014-07-01 10:04:33
阅读次数:
223
如何禁止C++ 类支持拷贝
C++ 编译器默默地为你做了不少工作
当你写下
class Empty {};
//其实等价于
class Empty {
public:
Empty() { ... } //default constructor
Empty(const Empty &rhs) { ... } //copy constructor
~Empty() { ......
分类:
编程语言 时间:
2014-07-01 08:04:25
阅读次数:
274
如何禁止C++ 类支持拷贝
C++ 编译器默默地为你做了不少工作
当你写下
class Empty {};
//其实等价于
class Empty {
public:
Empty() { ... } //default constructor
Empty(const Empty &rhs) { ... } //copy constructor
~Empty() { ......
分类:
编程语言 时间:
2014-06-30 18:47:21
阅读次数:
225
自动控制原理学习总结
明天就考自控了,现在也还没怎么做题,待会帮empty castle . L 把数据都备份好了认真看看题吧。。。还好是明天下午考试,不然估计会很坑爹。搞定自控!
自控的学习。。。基本上都是自学,老师上课基本上是白搭,一开始两周还坐前面听课。其实看不见,高度近视。都是“听”的。。。跟同学开玩笑说。。上自控就跟听力课似得。。中文听力课。...
分类:
其他好文 时间:
2014-06-30 07:48:34
阅读次数:
221
题目
Given a string s1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively.
Below is one possible representation of s1 = "great":
great
/...
分类:
其他好文 时间:
2014-06-29 23:16:19
阅读次数:
312