1 #import "AppDelegate.h" 2 3 @interface AppDelegate () 4 @property (nonatomic,strong)UILabel *label; 5 @end 6 7 @implementation AppDelegate 8 9 -...
分类:
其他好文 时间:
2015-06-30 23:36:55
阅读次数:
172
1 #import "AppDelegate.h" 2 3 @interface AppDelegate () 4 5 @end 6 7 @implementation AppDelegate 8 9 10 - (BOOL)application:(UIApplication *)appl...
分类:
其他好文 时间:
2015-06-30 23:31:57
阅读次数:
224
转自http://www.cnblogs.com/end/archive/2012/02/05/2339152.html随着互联网、移动互联网和物联网的发展,谁也无法否认,我们已经切实地迎来了一个海量数据的时代,数据调查公司IDC预计2011年的数据总量将达到1.8万亿GB,对这些海量数据的分析已经...
分类:
其他好文 时间:
2015-06-30 23:27:50
阅读次数:
185
function partion(arr, left, right) local tmp = arr[left] while left = tmp do right = right - 1 end ...
分类:
编程语言 时间:
2015-06-30 23:22:53
阅读次数:
141
string.count(str, beg=0, end=len(string))#返回 str 在 string 里面出现的次数,如果 beg 或者 end 指定则返回指定范围内 str 出现的次数 string.endswith(obj, beg=0, end=len(string))#检...
分类:
其他好文 时间:
2015-06-30 19:57:55
阅读次数:
81
Pb then exit(a) else exit(b);27 end;28 29 function min(a,b:longint):longint;30 begin31 if a>b then exit(b) else exit(a);32 end;33 34 procedu...
分类:
其他好文 时间:
2015-06-30 18:08:47
阅读次数:
116
SELECT 表名 = Case When A.colorder=1 Then D.name Else '' End, 表说明 = Case When A.colorder=1 Then isnull(F.value,'') Else '' End, 字段...
分类:
其他好文 时间:
2015-06-30 17:54:44
阅读次数:
178
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 the second node from the end, the...
分类:
其他好文 时间:
2015-06-30 15:07:11
阅读次数:
120
#import "ViewController.h"@interface ViewController ()
@property(nonatomic, strong)UIButton *button;
@end@implementation ViewController- (void)viewDidLoad {
[super viewDidLoad];
self.button = [...
分类:
其他好文 时间:
2015-06-30 15:01:15
阅读次数:
104
面向对象概念初步1.类的定义类的定义分两步:首先在类(单元)的接口(interface)部分说明这个方法.然后在实现部分(implementation)部分编写方法的实现代码.定义:type类名=class(父类名)数据域说明; //类内部使用变量/常量的声明;方法说明首部;end;实现代码:pro...