CHAPTER 3

image

Working with Fundamental Data Types

In this chapter, I expand on the types that I discussed in the previous chapter and explain how variables of the basic types interact in more complicated situations. I also introduce some new features of C++ and discuss some of the ways that these are used. In this chapter you’ll learn

  • How the execution order in an expression is determined
  • What the bitwise operators are and how you use them
  • How you can define a new type that limits variables to a fixed range of possible values
  • How you can define alternative names for existing data types
  • What the storage duration of a variable is and what determines ...

Get Beginning C++ 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.