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?
解决方案 »
- 使用ARC内存泄露
- AsyncSocket类中connecttohost调用问题
- 怎么使用xcode创建第一个movieplayer
- 如何将sinaweibo demo project 加入到 Three20UI中
- 问下 启动画面停留三秒我用的sleep 为什么真机测试黑屏停留了三秒
- ipad系统,代码里如何更改文件关联
- json解析的问题
- iOS 如何向服务器发送心跳包
- ios应用,开发些什么产品,会用到socket?
- 有知道升级后出现了这个错误怎么解决吗 谢谢
- 怎样把的Xcode生成的xxx.app制成的ipa安装到已越狱的iphone上
- iphone 显示图片(一行四个,行不限)给个提示就可以
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;
}
我滴个天呢⋯⋯
真滴有!