代码大全

(singke) #1
loop-with-exit

loop with exit
C goto


goto Start
while expression



  • do something *
    ...
    Start;

  • do something else *
    ...


loop-with-exit
do something do something else
goto
while goto
C goto break
leave goto
C goto


FOREVER




  • do something else *
    ...
    if ( !( expression ) )
    break;




  • do something *
    ...




15.1.3 for


for C Pascal Basic Ada
for Fortran DO
for


while

Free download pdf