1、用预处理#define声明常数,以表明一年多少秒
2、写一个“标准”宏MIN,此宏输入2个参数并返回较小的一个
3、obj-c有无多重继承? 如何实现之
4、@protocol解释 作用
5、代理、通知的区别? 哪里使用代码:
1、Define a node structure for a single linke list,as saving the mode can only hold single int valueImplement the list insertion function define as void Insert(ref Node headNode,int insertValue),Assuming the list is in ascending order and it hold single int value only,where headNode points to the begining of the list,and insertValue is the int value to insert?
2、写一个“标准”宏MIN,此宏输入2个参数并返回较小的一个
3、obj-c有无多重继承? 如何实现之
4、@protocol解释 作用
5、代理、通知的区别? 哪里使用代码:
1、Define a node structure for a single linke list,as saving the mode can only hold single int valueImplement the list insertion function define as void Insert(ref Node headNode,int insertValue),Assuming the list is in ascending order and it hold single int value only,where headNode points to the begining of the list,and insertValue is the int value to insert?
else if((n)%4 == 0 && (n)%400 != 0){(m)=(n)*366*24*3600;}\
else if((n)%4 != 0){(m)=(n)*365*24*3600;};
#import <Foundation/Foundation.h>int main (int argc, const char * argv[]) {
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
long n = 2000;
long m;
secondY(n,m);
NSLog(@"一年有:%ld 秒", m); [pool drain];
return 0;
}
我滴个天呢⋯⋯
真滴有!