Ch 3 - Gaddis Flashcards
cin Object
The cin object can be used to read data typed at the keyboard.
Mathematical expressions
C++ allows you to construct complex mathematical expressions using multiple operator and grouping symbols.
Type conversions
When an operator’s operands are of different data types, C++ will automatically convert them to the same data type. This can affect the results of mathematical expressions.
Overflow and underflow
When a variable is assigned a value that is too large or too small in range for that variable’s data type, the variable overflows or underflows.
Type casting
Type casting allows you to perform manual data type conversion.
Multiple assignment and combined assignment
Multiple assignment means to assign the same value to several variables with one statement.
Formatting output
The cout object provides ways to format data as it is being displayed. This affects the way data appears on the screen.
Working with Characters and string objects
Special functions exist for working with characters and string objects.