home *** CD-ROM | disk | FTP | other *** search
- These two statements add an entry to a PhoneBk object. The
- counter numEntry is also the number of the next available slot in
- the data-member arrays. A new telephone number is assigned to
- that element in the array "telnum". The strcpy() function copies
- the name from the argument "who" into the array "names". To be
- used as an argument of strcpy(), the element in the array "names"
- must be cast from a String to a char*. The last step in adding
- an entry is to increment the counter numEntry.
-