Chapter 5. LOOPS AND RELATIONAL EXPRESSIONS

You will learn about the following in this chapter:

  • The for loop

  • Expressions and statements

  • The increment and decrement operators: ++ and --

  • Combination assignment operators

  • Compound statements (blocks)

  • The comma operator

  • Relational operators: >, >=, ==, <=, <, and !=

  • The while loop

  • The typedef facility

  • The do while loop

  • The get() character input method

  • The end-of-file condition

  • Nested loops and two-dimensional arrays

Computers do more than store data. They analyze, consolidate, rearrange, extract, modify, extrapolate, synthesize, and otherwise manipulate data. Sometimes they even distort and trash data, but we'll try to steer clear of that kind of behavior. To perform their manipulative miracles, programs need ...

Get The Waite Group's C++ Primer Plus, Third 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.