这三种流程控制,在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!