20. Bits, Characters, C Strings and structs


In this chapter you’ll:

• Create and use structs and to understand their near equivalence with classes.

• Use typedef to create aliases for data types.

• Manipulate data with the bitwise operators and to create bit fields for storing data compactly.

• Use the functions of the character-handling library <cctype>.

• Use the string-conversion functions of the general-utilities library <cstdlib>.

• Use the string-processing functions of the string-handling library <cstring>.

Get C++11 for Programmers, Second Edition now with O’Reilly online learning.

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