Starting Out With C++: Early Objects by Tony Gaddis; Judy Walters; Godfrey Muganda

Starting Out With C++: Early Objects by Tony Gaddis; Judy Walters; Godfrey Muganda

Author:Tony Gaddis; Judy Walters; Godfrey Muganda
Language: eng
Format: mobi
ISBN: 9780321512383
Publisher: Addison Wesley
Published: 2005-10-30T00:00:00+00:00


Definitions

Definition: case

A control structure that does mulitway selection.

Definition: switch

A C++ control structure that can be made to act like a case control structure.

12.4. Branching Control Structures*

Discussion

The branching control structures allow the flow of execution to jump to a different part of the program. The three common branching control structures are: break, continue and goto. These are rarely used in modular structured programming with one exception. That exception is in relation to creating the case within the selection category of control structures. There is one other branching control structure that is often not viewed as branching control structure. It is: return. Additionally, we will add to our list of branching items a pre-defined function commonly used in the C++ programming language of: exit that is part of the C standard library (cstdlib). Some definitions:



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.