码迷,mamicode.com
首页 >  
搜索关键字:array    ( 29504个结果
asp发送短信验证码 pst方式
<script language="jscript" runat="server"> Array.prototype.get = function(x) { return this[x]; }; function parseJSON(strJSON) { return eval("(" + strJ ...
分类:Web程序   时间:2017-02-18 23:07:28    阅读次数:346
destoon修改笔记
$EXT = cache_read('module-3.php'); $EXT,存放了module3的设置 后台模型管理,扩展模型 里设置。 1、admin.php 后台管理项目对应文件。 if($module == 'destoon') { (include DT_ROOT.'/admin/'.$ ...
分类:其他好文   时间:2017-02-18 22:42:28    阅读次数:605
第11章 持有对象
任何Object的子类对象,都可以被添加。 在使用ArrayList之处,编译时不能发现类型不匹配错误,运行时才能发现。 使用get()函数取出对象之后,先要进行类型转换才能使用。 ...
分类:其他好文   时间:2017-02-18 22:34:59    阅读次数:151
Leetcode第一刷(程序还是需要多练习!)Two Sum
Two Sum Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would ...
分类:其他好文   时间:2017-02-18 20:04:28    阅读次数:2787
1. Two Sum
题目: Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would hav ...
分类:其他好文   时间:2017-02-18 19:44:39    阅读次数:164
thinkphp 查询语言
字符串要加引号 例:$data = M('User')->where("username = '$username' ")->find();也可以写成数组格式 例: $username = array( 'username'=>I('post.user'),);$data = M('User')-> ...
分类:编程语言   时间:2017-02-18 18:54:16    阅读次数:156
JSON怎么添加注释
JSON为什么不能加注释? 添加注释//或者/**/在JSON文件中是不允许的 JSON有两种数据结构: 名称/值对的集合:key : value样式; 值的有序列表:就是Array; 而在JSON的文档中说明只要是不符合上面两种结构的都不被支持,并提示错误(http://www.ietf.org/... ...
分类:Web程序   时间:2017-02-18 18:45:07    阅读次数:188
Find All Numbers Disappeared in an Array
Given an array of integers where 1 ≤ a[i] ≤ n (n = size of array), some elements appear twice and others appear once. Find all the elements of [1, n] ...
分类:移动开发   时间:2017-02-18 18:18:17    阅读次数:183
Sliding Window(滑动窗口)
Time Limit: 12000MS Memory Limit: 65536K Total Submissions: 58002 Accepted: 16616 Case Time Limit: 5000MS Description An array of size n ≤ 106 is give ...
分类:Windows程序   时间:2017-02-18 17:16:20    阅读次数:409
PHP无限级分类实现(递归+非递归)
1,'name'=>'电脑','pid'=>0), array('id'=>2,'name'=>'手机','pid'=>0), array('id'=>3,'name'=>'笔记本','pid'=>1), array('id'=>4,'name'=>'台式机','pid'=>1), array ...
分类:Web程序   时间:2017-02-18 16:56:18    阅读次数:208
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!