Chapter 16. Controlling Loops
Contents
Related Topics
Taming deep nesting: Taming Dangerously Deep Nesting
General control issues: Chapter 19
Code with conditionals: Chapter 15
Straight-line code: Chapter 14
Relationship between control structures and data types: Relationship Between Data Types and Control Structures
"Loop" is an informal term that refers to any kind of iterative control structure—any structure that causes a program to repeatedly execute a block of code. Common loop types are for, while, and do-while in C++ and Java, and For-Next, While-Wend, and Do-Loop-While in Microsoft Visual Basic. Using loops ...
Get Code Complete, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.