list:是一个有序列可变具体使用方法:1、声明s=["aaaaaa","bbbbbbbb"];2、访问第一个元素s[0] 3、访问倒数第一个元素s[-1] 4、在最后一个元素后添加一个元素s.append("cccccccccccc") 5、在索引1处插入值s.insert(1,"aaaaaaaa...
分类:
编程语言 时间:
2015-06-27 01:09:54
阅读次数:
123
效果图如下 1.json数据格式var _people=[{name:'朱瑞',url:'aaaaaa',nick:'zhu'},{name:'刘桂清',url:'aaaaa',nick:'liu'}];这里按姓氏排序借用了nick,不用nick的话,需要加载一个汉字拼音对照数组,判断匹配2.jav...
分类:
编程语言 时间:
2015-06-26 19:45:07
阅读次数:
186
题目描述
There is a string A. The length of A is less than 1,000,000. I rewrite it again and again. Then I got a new string: AAAAAA...... Now I cut it from two different position and get a new string B. ...
分类:
其他好文 时间:
2015-06-14 09:37:03
阅读次数:
136
正则表达式示例表字 符 意 义 示 例* 任意长度的字符串。 a* 表示: 空字符串、aaaa、a…? 长度为0或者1的字符串。 a? 表示: 空字符串和a。+ 长度为一个或者多个的字符串。 a+表示:a、aa、aaaaaa…. 任意字符。 a. 表示:a后跟任意字符。{} 代表上一规则重复数目、{...
分类:
其他好文 时间:
2015-06-13 15:34:08
阅读次数:
108
SQL Server MySQL1、getdate() NOW() 2、top 100 limit 100 3、charindex(':','aaaaaa:a') LOCATE(':','aaaaaa:a') 4、+ concat('','') ...
分类:
数据库 时间:
2015-05-27 18:41:29
阅读次数:
184
修改UIButton状态,注释NSLog(@"text1:%@",_btn.titleLabel.text);这段结果很不可思议_btn.titleLabel.text= [NSStringstringWithFormat:@"aaaaaa%i",i];NSLog(@"text1:%@",_btn....
分类:
其他好文 时间:
2015-05-22 13:01:39
阅读次数:
198
最近的练习的颜色已经不是几个英语单词就可以解决的了找了一下真头疼 下面分享一下CSS 下的颜色代码FFFFFF#DDDDDD#AAAAAA#888888#666666#444444#000000#FFB7DD#FF88C2#FF44AA#FF0088#C10066#A20055#8C0044#FFC...
分类:
Web程序 时间:
2015-05-03 15:52:06
阅读次数:
239
一、不带参数的using System; using System.Collections.Generic; using System.Text; using System.Threading; namespace AAAAAA { class AAA { public...
分类:
编程语言 时间:
2015-04-24 20:44:57
阅读次数:
158
1.首先新建个sql表,表内容如上所示:
2.新建个公用文件conn.php来链接数据库:
header("Content-Type:text/html;charset=utf8");//申明编码格式
$conn=mysql_connect("localhost","root","aaaaaa") or die("数据库连接错误".mysql_errno());//连接sql
m...
分类:
数据库 时间:
2015-04-17 14:03:32
阅读次数:
172
正则表达式示例表字 符 意 义 示 例* 任意长度的字符串。 a* 表示: 空字符串、aaaa、a…? 长度为0或者1的字符串。 a? 表示: 空字符串和a。+ 长度为一个或者多个的字符串。 a+表示:a、aa、aaaaaa…. 任意字符。 a. 表示:a后跟任意字符。{} 代表上一规则重复数目、{...
分类:
其他好文 时间:
2015-04-15 19:07:27
阅读次数:
134