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

  1. This "for" loop uses the variable "i" as an index into the arrays
  2. of names and telephone numbers.  In the loop, one line is printed
  3. for each entry in the PhoneBk.  The output operator sends output
  4. to the output stream indicated by the argument "os".  There are
  5. four items on each line:  a name, which must be cast to type char*
  6. for the output operator, a tab for formatting the output, a
  7. telephone number, and an end-of-line character.
  8.