您的位置:首页 > 编程语言 > C语言/C++

1022(P116—126) for thinking in c++

2011-10-22 20:31 411 查看
1、Using the c function library. If posible, using the existing library for your programs,then all you need to do is including the header file and call the function.

2、As for controlling execution.  The statements include if-else,while,do-while,for,and a selection statement called switch.

3、The break and continue keywords.Break quits the loop without executing the rest of the statements in the loop. Continue stops the execution of the current iteration and goes back to the beginning of the loop to begin a new iteration.

4、while(true) statment is the equivalent of saying "doing this loop forever".
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息