Hour 6. Controlling the Flow of a Program

What You’ll Learn in This Hour:

Image What loops are and how they are used

Image How to build various loops

Image Using switch-case for complex conditional tests


One of the things that a computer excels at is doing the same thing over and over again. Software doesn’t get tired.

Many tasks in a program are accomplished by doing the same thing either a fixed number of times or until a specific condition is met. ...

Get Sams Teach Yourself C++ in 24 Hours, Sixth Edition now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.