 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
| • |
Remember,
we used a structure to group different
|
|
|
|
types
of data together under a common name
|
|
|
| • |
With
a class, we can go the next step an actually
|
|
|
|
define
a new data type
|
|
|
| • |
In
reality, structures and classes are 100% the
|
|
|
same
except for the default conditions
|
|
|
|
• |
everything
you can do with a class you can do
|
|
|
|
with
a structure!
|
|