home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / cset21v1.zip / IBMCPP / TUTORIAL / ICLCC / TUTOR6 / INSTRUCT.TXT < prev    next >
Text File  |  1993-04-23  |  610b  |  13 lines

  1. Tutorial 6: Writing polymorphic applications
  2.  
  3. 1) Write a printCollection function, that prints list as well as sets.
  4. 2) Contruct a tabular list and copy all elements from the linked list to the
  5.    tabular one.
  6. 3) What do you have to add  to person.h for the tabular list to work?
  7.    What do you have to add  to person.h for the set to work?
  8. 4) Print  out the contents of all collections.
  9. 5) Add "your name"  to the reference class of the tabular sequence
  10. 6) Add  K. Liegert to the tabular sequence
  11. 7) What is the advantage of providing classes  for polymorphic
  12.    use and for non-polymorphic use?
  13.