August 2012
Intermediate to advanced
976 pages
30h 17m
English
The arithmetic types are divided into two categories: integral types (which include character and boolean types) and floating-point types.
The size of—that is, the number of bits in—the arithmetic types varies across machines. The standard guarantees minimum sizes as listed in Table 2.1. However, compilers are allowed to use larger sizes for these types. Because the number of bits varies, the largest (or smallest) value that a type can represent also varies.
Table 2.1. C++: Arithmetic Types
The bool type represents the ...
Read now
Unlock full access