|
|
|
|
|
|
|
10
Simple Data Types: Built-In and User-Defined |
|
|
|
|
|
|
|
|
To be able to identify all of the simple data types provided by the C++ language. |
|
|
|
|
|
|
|
|
To become familiar with specialized C++ operators and expressions. |
|
|
|
|
|
|
|
|
To be able to distinguish between external and internal representations of character data. |
|
|
|
|
|
|
|
|
To understand how floating point numbers are represented in the computer. |
|
|
|
|
|
|
|
|
To understand how the limited numeric precision of the computer can affect calculations. |
|
|
|
|
|
|
|
|
To be able to select the most appropriate simple data type for a given variable. |
|
|
|
|
|
|
|
|
To be able to declare and use an enumeration type. |
|
|
|
|
|
|
|
|
To be able to use the For and Switch statements with user-defined enumeration types. |
|
|
|
|
|
|
|
|
To be able to distinguish a named user-defined type from an anonymous user-defined type. |
|
|
|
|
|
|
|
|
To be able to create a user-written header file. |
|
|
|
|
|
|
|
|
To understand the concepts of type promotion and type demotion. |
|
|
|
|
|