1 #include 2 #include 3 void Merge( int source[] , int temp[] , int start , int mid , int end ) 4 { 5 int i = start , j = mid + 1 , k = start ; 6...
分类:
其他好文 时间:
2015-02-01 10:44:06
阅读次数:
145
现要做报表,要查出在当天所处的日期区间的某些数据,sql语句该怎么写?就是说 无法直接输入日期,日期得在其他表的start date 和 end date 中获得。select * from a where a.time between (select b.startdate from b b .....
分类:
其他好文 时间:
2015-02-01 01:52:02
阅读次数:
176
@interface YGSectionHeaderView : UIView@property NSUInteger section;@property (nonatomic, weak) UITableView *tableView;@end@implementation YGSectionHe...
分类:
移动开发 时间:
2015-01-31 23:12:23
阅读次数:
217
时间过的好快,仿佛还沉浸在上一年的年终总结中,转眼之间又该年终总结了。一年了自己的英语学习一直在进
行,到底自己的英语水平和一年前的自己相比自己有了什么进步呢?还好前些天给11期的小朋友测试英语,和一年前
的自己形成对比让我看到了自己这一年来的英语的进步。...
分类:
其他好文 时间:
2015-01-31 22:01:45
阅读次数:
229
#include
//#include
//#include
//int sum(int n, ...);
typedef void* va_list;
#define _INTSIZEOF(arg) ((sizeof(arg) + sizeof(int) - 1)&(~(sizeof(int) - 1))) //字节对齐,针对32位系统
#define va_start(arg,...
分类:
其他好文 时间:
2015-01-31 21:55:54
阅读次数:
159
1.mySQL 創建存儲過程procedure 如下圖:
/*奇葩之處竟然要定義個標記[delimiter //]表示是procedure 不是sql ,procedure 的關鍵字被狗吃了?*/
2.流程控制語句 if then end if
3.case when end case
.
4.while end while /* end while 是亮點,...
分类:
数据库 时间:
2015-01-31 18:04:06
阅读次数:
167
简介本章内容主要对Objective-C语言的基础语法进行阐述,包含以下知识点:OC类的声明语法OC类的成员变量声明OC类的方法声明OC类的实现OC属性机制OC对象创建OC方法调用OC点语法Self关键字自定义初始化方法1.OC类的声明OC声明类的关键字为:@interface和@end关键字后面跟...
分类:
其他好文 时间:
2015-01-31 16:14:36
阅读次数:
213
1.定位窗口fHwnd:=FindWindow(nil,'短信中心'); if fHwnd=0 then begin showmessage('请先登录飞信2013短信中心'); exit; end; { application.CreateForm(Tpanel,fHwnd); pan...
分类:
其他好文 时间:
2015-01-31 14:25:30
阅读次数:
206
题目链接:Remove Nth Node From End of List
Given a linked list, remove the nth node from the end of list and return its head.
For example,
Given linked list: 1->2->3->4->5, and n = 2.
After removing ...
分类:
其他好文 时间:
2015-01-30 22:43:16
阅读次数:
179
原题地址BFSWord Ladder II的简化版(参见这篇文章)由于只需要计算步数,所以简单许多。代码: 1 int ladderLength(string start, string end, unordered_set &dict) { 2 if (start == end) ...
分类:
其他好文 时间:
2015-01-30 19:18:24
阅读次数:
128