 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
| • |
Think
about how you can use those objects
|
|
|
my_str.copy("hi! ");
|
|
|
cout << my_str.length();
|
|
|
| • |
We
are limited to using only those operations that
|
|
are
defined within the public section of the class
|
|
|
interface
|
|
|
| • |
The
only “built-in” operation that can be used
|
|
|
with
objects of a class is the assignment
|
|
|
operation,
which does a memberwise copy (as we
|
|
|
learned
with structures)
|
|