home *** CD-ROM | disk | FTP | other *** search
- Each name is stored in the PhoneBk class as a string. The typedef
- statement defines a type "String". Each "String" object
- can contain up to 19 characters plus a string terminator. A more
- elegant way to handle strings in C++ would be to define a
- string class. String member functions could be used instead
- of the awkward standard functions strcmp() and strcpy().
- To keep this implementation as simple as possible,
- PhoneBk uses the typedef for strings rather than another class.
-