Skip to Main Content
Practical C++
book

Practical C++

by Rob McGregor
August 1999
Beginner to intermediate content levelBeginner to intermediate
912 pages
15h 44m
English
Que
Content preview from Practical C++

Chapter 4. Using Conditional Expressions and Selection Statements

<feature>
  • Learn to use Boolean conditions and expressions

  • Make decisions using selection statements

  • Understand the logical AND, OR, and NOT operators

  • Gain insight into the nature of truth by using truth tables

  • See how to create and use enumerated data types

</feature>

Using Boolean Conditions and Expressions

George Boole was a nineteenth century mathematician who thought in terms of computer science long before there was such a thing as computer science. It was Boole who created Boolean algebra and formalized Boolean logic. The Boolean condition expresses either truth or falsehood. You can find analogies for this condition in many ways. You can think of the condition as on or off, zero ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Practical C++ Programming, 2nd Edition

Practical C++ Programming, 2nd Edition

Steve Oualline
C++ Cookbook

C++ Cookbook

D. Ryan Stephens, Christopher Diggins, Jonathan Turkanis, Jeff Cogswell

Publisher Resources

ISBN: 0789721449Purchase book