Summary

Section 4.1 Introduction

  • Before writing a program to solve a problem, you should have a thorough understanding of the problem and a carefully planned approach to solving it.

Section 4.2 Algorithms

  • A procedure for solving a problem in terms of the actions (p. 105) to execute and the order (p. 105) in which these actions execute is called an algorithm (p. 105).

  • Specifying the order in which statements (actions) execute in a program is called program control (p. 105). This chapter investigates program control using C++’s control statements (p. 105).

Section 4.3 Pseudocode

  • Pseudocode (p. 105) is an informal language similar to everyday English that helps you develop algorithms without having to worry about the strict details ...

Get C++ How to Program, 10/e 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.