//get 发送短信 public static String send_sms(String
mobile_phone, String msg) { String ret_str = ""; BufferedReader rd=null; try
{...
分类:
其他好文 时间:
2014-06-11 11:31:29
阅读次数:
216
/** * 查询短信的短信剩余条数 * @return */ public static String
getSmsCount() { String ret_str = ""; BufferedReader rd=null; t...
分类:
其他好文 时间:
2014-06-11 11:24:42
阅读次数:
359
void clicked(){ int ret; InventSum1 curSum;
utcDatetime start=dateTimeUtil::utcNow(); container ...
分类:
其他好文 时间:
2014-06-11 10:35:09
阅读次数:
179
#include #include #include #include #include
#include #include #include #include #include #include using namespace std;int
a[222222];int ret[222222];c...
分类:
其他好文 时间:
2014-06-10 00:09:07
阅读次数:
177
public boolean equals(Object otherObject) {
if(this == otherObject) { // 检测this与otherObject是否引用同一个对象
return true;
}
if(null == otherObject ) { // 检测otherObject是否为空
ret...
分类:
编程语言 时间:
2014-06-08 04:00:26
阅读次数:
299
今天学习了Laravel的分页功能,感觉它这个非常的好用.
下面拿出来和大家分享一下.
首先第一步,我们需要获取到查询的结果.
方法大家应该各有所异,无非包括各种条件,排序.但是最后我们必须通过
paginate(PAGESIZE)来获取选定的结果.
例如:我使用Eloquent 来获取数据.
$ret = User::where('age','gt',25)->orderBy('se...
分类:
Web程序 时间:
2014-06-04 21:39:59
阅读次数:
728
Follow up for "Remove Duplicates":What if
duplicates are allowed at mosttwice?For example,Given sorted array A
=[1,1,1,2,2,3],Your function should ret...
分类:
其他好文 时间:
2014-06-04 19:12:47
阅读次数:
273
(function(){
var multiply = function(n1,n2){
var nstr1 = n1.toString();
var nstr2 = n2.toString();
var carry = 0;
var ret = "";
var di = 0;
var dj = 0;
var dig = 0.1;
for(var i = nstr1.length - 1 ;...
分类:
编程语言 时间:
2014-06-02 23:59:49
阅读次数:
509
注释建议使用VVDocumenter插件多行注释格式:/**
注释内容*/单行注释格式:///在对文件、类、函数进行注释时推荐使用多行注释,在函数体内对代码块进行注释时,使用单行注释函数的注释函数注释的格式为/** *
@brief * @param * @ret...
分类:
移动开发 时间:
2014-06-02 18:13:43
阅读次数:
481
class Solution {public: vector > ret; vector
subret;public: vector > fourSum(vector &num, int target) {
sort(num.begin(),num.end()); ...
分类:
其他好文 时间:
2014-05-29 09:31:13
阅读次数:
288