/robowaifu/'s C++ learning textbook chapter 03
Objects, Types, and Values
“Fortune favors the prepared mind.” —Louis Pasteur
"This chapter introduces the basics of storing and using data in a program. To do so, we first concentrate on reading in data from the keyboard. After establishing the fundamental notions of objects, types, values, and variables, we introduce several operators and give many examples of use of variables of types char, int, double, and string."
- § 3.1 Input
- § 3.2 Variables
- § 3.3 Input and type - part a
- § 3.3 Input and type - part b
- § 3.3 Input and type - part c
- § 3.4 Operations and operators - part a
- § 3.4 Operations and operators - part b
- § 3.4 Operations and operators - part c
- § 3.4 Operations and operators - part d
- § 3.5 Assignment and initialization - part a
- § 3.5 Assignment and initialization - part b
- § 3.5 Assignment and initialization - part c
- § 3.5.1 An example: detect repeated words
- § 3.6 Composite assignment operators
- § 3.6.1 An example: find repeated words
- § 3.7 Names - part a
- § 3.7 Names - part b
- § 3.7 Names - part c
- § 3.8 Types and objects
- § 3.9 Type safety
- § 3.9.1 Safe conversions
- § 3.9.2 Unsafe conversions - part a
- § 3.9.2 Unsafe conversions - part b
- § 3.9.2 Unsafe conversions - part c