Chapter 3. Control Statements, Part 1; Intro to C++20 Text Formatting
Objectives
In this chapter, you’ll:
■ Use the if
and if…else
selection statements to choose between alternative actions.
■ Use the while
iteration statement to execute statements in a program repeatedly.
■ Use counter-controlled iteration and sentinel-controlled iteration.
■ Use nested control statements.
■ Use the compound assignment operators and the increment and decrement operators.
■ Learn why fundamental data types are not portable.
■ Continue learning with our objects natural approach with a case study on creating and manipulating integers as large as you want them to ...
Get C++20 for Programmers, 3rd 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.