转载自http://blog.csdn.net/superbirds/article/details/7532277bool curl_setopt (int ch, string option, mixed value)curl_setopt()函数将为一个CURL会话设置选项。option参数是...
分类:
Web程序 时间:
2015-05-06 01:20:13
阅读次数:
149
这么基础的东西实在不应该再记录了,不过嘛,温故知新~就先从数据类型开始吧js六大数据类型:number、string、object、Boolean、null、undefinedstring: 由单引号或双引号来说明,如"string"number:什么整数啊浮点数啊都叫数字,你懂的~Boolean:...
分类:
编程语言 时间:
2015-05-06 01:15:58
阅读次数:
153
个人笔记分享,知识点以及小练习字符串的特性:不可变性,每对字符串做拼接或者重新赋值之类的操作,都会在内存中产生一个新的实例。所以说,在.Net平台下,如果你对一个字符串进行大量的拼接赋值等操作,会产生大量的垃圾。---->我们可以将字符串看做是char类型的只读数组。 --->当我们以索引的方式去访...
原理参考:http://www.douban.com/note/321468038/public class Solution { public String longestPalindrome(String s) { if((s == null) || (s.length() ...
分类:
其他好文 时间:
2015-05-06 01:09:48
阅读次数:
145
Given an input string, reverse the string word by word.For example,Given s = "the sky is blue",return "blue is sky the".Update (2015-02-12):For C prog...
分类:
其他好文 时间:
2015-05-06 01:07:01
阅读次数:
123
var?str?=?‘asdf‘;? var?str1?=?new?String(‘asdf‘); typeof?str;//"string" typeof?str1;//"object" Object.prototype.toString.cal(str);?//"[object?String]" Object.prototype.toString.call(str...
分类:
Web程序 时间:
2015-05-06 00:04:55
阅读次数:
143
Given an input string, reverse the string word by word.For example,
Given s = “the sky is blue”,
return “blue is sky the”.Update (2015-02-12):
For C programmers: Try to solve it in-place in O(1) s...
分类:
其他好文 时间:
2015-05-06 00:01:27
阅读次数:
188
1550: Simple String
Time Limit: 1 Sec Memory Limit: 256 MB
Submit: 249 Solved: 112
[Submit][Status][Web
Board]
Description
Welcome,this is the 2015 3th Multiple Universities Programming...
分类:
其他好文 时间:
2015-05-05 23:54:43
阅读次数:
244
jQuery有很多很多的已经实现,很漂亮的插件,autocomplete就是其中之一。jQuery ui autocomplete主要支持字符串Array、JSON两种数据格式。主要参数:Source:数据源,类型为String、Array、Function,其中String为ajax请求的服务器端...
分类:
Web程序 时间:
2015-05-05 23:47:30
阅读次数:
274
转换Excel数字列号为字母列号例如:0 -> A26 -> AAprivate static string GetColumnChar(int col){ var a = col / 26; var b = col % 26; if (a > 0) return GetC...