码迷,mamicode.com
首页 >  
搜索关键字:end    ( 30778个结果
获得、修改 SQL Server表字段说明
SELECT (case when a.colorder=1 then d.name else '' end) 表名, a.colorder 字段序号, a.name 字段名, g.[value] AS 字段说明FROM syscolumns a...
分类:数据库   时间:2015-03-30 18:02:16    阅读次数:151
iOS 两个viewcontroller之间的delegate传值
第二个界面往第一个界面传值 第二个界面 //第二个界面制定协议 @protocol ChuanZhiDelegate NSObject> - (void)chuanzhid; @end @interface ViewController2 : UIViewController @property(nonatomic,assign)idChuanZhiDelegate>c...
分类:移动开发   时间:2015-03-30 16:35:06    阅读次数:151
ios 协议(delegate)使用过程中遇到assign attribute must be unsafeunretained
今天在使用协议的过程中,偶然发现这样使用 @interface AppDelegate (){ id testdelegate; } @property (nonatomic , assign) id testdelegate; @end @implementation AppDelegate @synthesize testdelegate; 会报错: Existing i...
分类:移动开发   时间:2015-03-30 16:34:21    阅读次数:150
Construct binary tree form postorder and inorder--LeetCode
和上面的题目相似 思路也是类似 Tree* helpersecond(vector& inorder,int in_begin,int in_end,vector& post,int post_begin,int post_end) { Tree* root =NULL; int mid; int i; if(in_begin > in_end) { return NULL; }...
分类:其他好文   时间:2015-03-30 11:24:10    阅读次数:117
—查询数据库中所有的表名字段名说明 详细信息
——直接放在需要查询的库中执行即可。 SELECT (case when a.colorder=1 then d.name else null end) 表名, a.colorder 字段序号,a.name 字段名, (case when COLUMNPROPERTY( a.id,a.name,.....
分类:数据库   时间:2015-03-30 10:46:53    阅读次数:141
Sicily 13862. Empty Stalls
13862. Empty Stalls Constraints Time Limit: 2 secs, Memory Limit: 64 MB Description Farmer John's new barn consists of a huge circle of N stalls (2 At the end of each day, FJ's c...
分类:其他好文   时间:2015-03-30 09:30:44    阅读次数:125
C语言字符串操作函数实现
1、字符串反转 – strRev void strRev(char *str) { assert(NULL != str); int length=strlen(str); char *end=str+length-1; while(end > str) { *str=(*str)^(*end); ...
分类:编程语言   时间:2015-03-30 01:21:30    阅读次数:209
通过继承nsoperation的方法--处理复杂任务
#import @class TTOperation;@protocol TTOperationDelegate -(void)operationComplete:(NSData *)data;@end@interface TTOperation : NSOperation@property(non...
分类:其他好文   时间:2015-03-29 22:08:55    阅读次数:128
【HDU1402】【FFT】A * B Problem Plus
Problem DescriptionCalculate A * B.InputEach line will contain two integers A and B. Process to end of file.Note: the length of each integer will not ...
分类:其他好文   时间:2015-03-29 20:59:33    阅读次数:163
杭电oj 1003 wrong answer(待改正)需要极端数据测试
#include #include int main(){ int time; int n; int start,end; int sum; int a[100001]; int startsum,endsum; //参数 int i,j,x; scanf("%d",&time); for(i=1....
分类:其他好文   时间:2015-03-29 18:02:45    阅读次数:115
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!