year2, write a "standard" macro MIN, this macro input two parameters and returns the smaller one
3, obj-c or without multiple inheritance?
How to achieve the4, @ protocol to explain the role
5, agents, notice the difference? Where the use of
Code:
1, Define a node structure for a single linke list, as saving the mode can only hold single int value
Implement 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?
Reply:
Come on everyone .... ah!
Reply:
# Define secondY (n, m) if ((n)% 4 == 0 && (n)% 400 == 0) {(m) = (n) * 364 * 24 * 3600;} \
else if (! (n)% 4 == 0 && (n)% 400 = 0) {(m) = (n) * 366 * 24 * 3600;} \
else if (! (n)% 4 = 0) {(m) = (n) * 365 * 24 * 3600;};
# Import
int main (int argc, const char * argv []) {
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
long n = 2000;
long m;
secondY (n, m);
NSLog (@ "a year:% ld seconds", m);
[Pool drain];
return 0;
}
Reply:
# Define MMIN (n, m) (((n) <(m)) (n):? (M))
Reply:
No, single inheritance multi-protocol (similar to the Java interface)
Reply:
You're saying the problem is not foreign companies, each company written objective-c are from the two sets of soft Branch in the Division also this question. cocoachina there, the answer is also
Reply:
Upstairs, find the address. Good life of peace. . .
Reply:
Thank you, no. Found. That would indeed few. . . .
Reply:
Reply:
http://www.cocoachina.com/bbs/read.php?tid=44281&keyword =% CA% D4% CC% E2
I drop a day it ⋯ ⋯
Zhendi there!
Reply:
Mark, can refer to reference, are learning in Objective-C
Reply:
1, pretreatment constants # define statement to indicate how many seconds
year
# Define YEAR_SECOND ((365 * 24 * 60 * 60) UL)
Reply:
Indeed that these ...... hey
Reply:
Recommend a good text http://blog.csdn.net/iukey/article/details/7083165
IOS development
Reply:
IOS developers recommend a good text [url = http://blog.csdn.net/iukey/article/details/7083165]
Reply:
IOS developers recommend a good text http://blog.csdn.net/iukey/article/ details/7083165
Reply:
Reply:
From the perspective of knowledge that how these topics so easily.
From the perspective of thinking that it is not clear which contains thoughts.
No comments:
Post a Comment