home *** CD-ROM | disk | FTP | other *** search
- Duplicating every element in the two arrays requires a loop. The
- loop makes a copy of every element in the arrays. The copy
- constructor does not duplicate the two pointers, which point to
- the start of the arrays in the object oldbook. Because the
- standard string manipulation function strcpy() is used to copy
- each name, types of each element in the "names" arrays must be
- cast to char*.
-