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".
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".
相关文章推荐
- 1026 notes for thinking in c++(127-137)
- 【ThinkingInC++】21、关于C的习题(3)
- C/C++中静态元素 及Static的用法(整理自Thinking in C++)
- Thinking in C++(1)
- C++ AMP: Changes in VS 11 Beta for C++ AMP
- 【ThinkingInC++】23、一个袖珍的C库
- For complex job,the differentiation is in learning / thinking capability.
- [THINKING IN C++]CHAPTER 04:EXERCISE 04
- 读Thinking in C++卷一后的总结(1)
- Thinking in Java 第四版本--第3章练习题答案--for,break,switch,case,default
- Thinking in C++ 卷2中文版
- 怎样理解“Thinking in C++”?
- Thinking In Linux C/C++字节对齐详解
- Thinking in C++: 第1章 对象的演化
- Thinking in C++: Pointers to members 指向成员的指针
- Thinking in C++: 指针数组与数组指针
- How to separate the implementation and definition for template function in c++
- [Thinking in C++]CH02:Ex07 疑惑
- 分享:Thinking in C++ Notes: 动态对象创建
- 【ThinkingInC++】65、使用delete void*可能会出错