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
第二个界面往第一个界面传值
第二个界面
//第二个界面制定协议
@protocol ChuanZhiDelegate NSObject>
- (void)chuanzhid;
@end
@interface ViewController2 :
UIViewController
@property(nonatomic,assign)idChuanZhiDelegate>c...
分类:
移动开发 时间:
2015-03-30 16:35:06
阅读次数:
151
今天在使用协议的过程中,偶然发现这样使用
@interface AppDelegate (){
id testdelegate;
}
@property (nonatomic , assign) id testdelegate;
@end
@implementation AppDelegate
@synthesize testdelegate;
会报错:
Existing i...
分类:
移动开发 时间:
2015-03-30 16:34:21
阅读次数:
150
和上面的题目相似 思路也是类似
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
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
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
#import @class TTOperation;@protocol TTOperationDelegate -(void)operationComplete:(NSData *)data;@end@interface TTOperation : NSOperation@property(non...
分类:
其他好文 时间:
2015-03-29 22:08:55
阅读次数:
128
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
#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