C++ Jump Statements

The conditional and the loop statements are indispensable tools of programming. We cannot write even the simplest program without using them. They are an essential necessity. Other control statements are useful but not necessary. They represent syntactic fluff that makes our programs more concise and aesthetically appealing.

These other C++ control statements are different sorts of jumps. Program designers love jumps because they allow them to transfer control to any place in the program source code effectively and efficiently. However, the program that uses jumps is more difficult to analyze than the program that does not use jumps. To understand the results of the execution of a program statement when the flow of control ...

Get Core C++ A Software Engineering Approach 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.