WEB开发网
开发学院软件开发C++ wk里有没有类似c语言里的break的命令 阅读

wk里有没有类似c语言里的break的命令

 2008-03-08 21:58:05 来源:WEB开发网   
核心提示:和C一样用喽The break, continue, and next statements can be used to break out of loops that would otherwise keep going. break drops out of the innermost while, for, o

  和C一样用喽
The break, continue, and next statements can be used to break out of loops that would otherwise keep going. break drops out of the innermost while, for, or do loop. continue causes the next iteration of the loop to begin.
Execution will go to the test eXPRession in a while or do loop, and to expression3 in a for loop. next reads the next record and starts the main input loop again.

Tags:wk 有没有 类似

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接