home *** CD-ROM | disk | FTP | other *** search
- This main() function is the client code of the String class. The
- use of dynamic memory in the implementation of the String class is
- hidden from the client code. The client code of any class can use
- the new and delete operators to place objects of that class into
- the free store. For example, this main() function could create
- String objects by calling the new operator, and there would be no
- conflict with the use of dynamic memory in the class.
-