|
Learning objectives for chapter 12 |
1 | Learn how to create an "object specification". |
2 | Learn how to declare and initialize an object. |
3 | Learn how to declare an array of objects. |
4 | Learn how to share an object with a function. |
5 | Learn how to share arrays of objects with functions. |
|
|
Learning objective(s) addressed |
|
1 | 2 | 3 | 4 | 5 |
Exercises |
Right-click (or control-click on a Mac) the title to save its PDF to your system. |
|
12.1 |
A Simple Mortgage Calculator, v.4.0 PDF |
X | X | | | |
12.2 |
Managing Student Records PDF |
X | X | X | X | |
12.3 |
The Game Of War, v.4.0 PDF |
X | X | X | X | |
| |
Samples |
Right-click (or control-click on a Mac) the title to save its PDF to your system. |
|
12.1 |
About Objects PDF |
X | X | X | X | X |
12.2 |
Using Objects PDF |
X | X | | | |
12.3 |
Using Objects With Functions PDF |
X | X | | X | |
| |
Videos |
|
12.1 |
Click HERE for a YouTube-like video that demonstrates the use of C++ structs (and Java classes) to store objects with multiple data fields.
It runs 11 minutes.
|
X | X | X | | |
|
Code from the chapter in order of their appearance in the text |
|