home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH17 / A171812.TXT < prev    next >
Encoding:
Text File  |  1993-10-18  |  312 b   |  6 lines

  1. Notice that the iterator contains three member variables:
  2. "pArray", "index", and "pStack".  "pArray" is used to access the
  3. array that an "AStack<T>" object uses to store elements.  "index"
  4. is an index into the array used to store elements of the stack.
  5. "pStack" is used to determine the state of the stack.
  6.