April 2022
Intermediate to advanced
1012 pages
38h 1m
English
Objectives
In this chapter, you’ll:
Use the for and do…while iteration statements.
Perform multiple selection using the switch selection statement.
Use C++17’s [[fallthrough]] attribute in switch statements.
Use C++17’s selection statements with initializers.
Use the break and continue statements to alter the flow of control.
Use the logical operators to form compound conditions in control statements.
Understand the representational errors associated with using floating-point data to hold monetary values.
Continue our Objects-Natural approach with a case study that uses an open-source ZIP compression/decompression library to create and read ZIP files.
Use more C++20 text-formatting capabilities.
Outline
Read now
Unlock full access