84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
这三种流程控制,在OC 里面应该怎么样表达??
This has nothing to do with OC, it is a pure C concept. Most computer languages also have these three loop controls.
while: while(p) {a}
while(p) {a}
do-while: do{a} while(p)
do{a} while(p)
for: for(a; p;) {b; a;}
for(a; p;) {b; a;}
I don’t know the answer, please support me!
This has nothing to do with OC, it is a pure C concept. Most computer languages also have these three loop controls.
while:
while(p) {a}
do-while:
do{a} while(p)
for:
for(a; p;) {b; a;}
I don’t know the answer, please support me!