home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH05 / A05184.TXT < prev    next >
Encoding:
Text File  |  1993-11-23  |  479 b   |  9 lines

  1. The C++ statements you see here could be in the same block of C++
  2. code.  There are two different display() functions.  The compiler
  3. selects the function that is a member of the class of each object.
  4. Note that these display() functions do not have the same number,
  5. or types, of arguments.  Functions with the same name do not have
  6. to do the same, or even similar, things.  However, it is wise to
  7. duplicate a name only when the functions' activities are logically
  8. related.
  9.