|
|
|
|
|
|
|
17
Pointers, Dynamic Data, and Reference Types |
|
|
|
|
|
|
|
|
To be able to declare variables of pointer types. |
|
|
|
|
|
|
|
|
To be able to take the addresses of variables and to access the variables through pointers. |
|
|
|
|
|
|
|
|
To be able to write an expression that selects a member of a class, struct, or union that is pointed to by a pointer. |
|
|
|
|
|
|
|
|
To be able to create and access dynamic data. |
|
|
|
|
|
|
|
|
To be able to destroy dynamic data. |
|
|
|
|
|
|
|
|
To be able to declare and initialize variables of reference types. |
|
|
|
|
|
|
|
|
To be able to access variables that are referenced by reference variables. |
|
|
|
|
|
|
|
|
To understand the difference between deep and shallow copy operations. |
|
|
|
|
|
|
|
|
To understand how C++ defines the term initialization. |
|
|
|
|
|
|
|
|
To be able to identify the four member functions needed by a C++ class that manipulates dynamic data. |
|
|
|
|
|
|
|
|
To be able to use pointers to improve program efficiency. |
|
|
|
|
|