home *** CD-ROM | disk | FTP | other *** search
- Here, the subscript operator is overloaded for a second time. The
- client code uses this version of the operator to find the range of
- numbers that are associated with a letter grade. Notice that the
- letter grade is passed to the overloaded subscript operator as an
- argument of type char*. The overloaded subscript operator
- searches the array "GradeList" for an element containing a letter
- grade that matches the argument. The return value of the operator
- is a LongPair object containing number grades.
-