Chapter 3. Dealing with Data
In this chapter you’ll learn about the following:
• Rules for naming C++ variables
• C++’s built-in integer types: unsigned long
, long
, unsigned int
, int
, unsigned short
, short
, char
, unsigned char
, signed char
, and bool
• The climits
file, which represents system limits for various integer types
• Numeric constants of various integer types
• Using the const
qualifier to create symbolic constants
• C++’s built-in floating-point types: float
, double
, and long double
• The cfloat
file, which represents system limits for various floating-point types
• Numeric constants of various floating-point types
• C++’s arithmetic operators
• Automatic type conversions
• Forced type conversions (type casts)
The essence of object-oriented ...
Get C++ Primer Plus, Fifth 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.