home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH08 / A08101.TXT < prev    next >
Encoding:
Text File  |  1993-09-15  |  357 b   |  7 lines

  1. In a class definition, the keyword friend can be placed before the
  2. declaration of another class or a function that is not a member of
  3. the class being defined.  Here, member functions of the class
  4. Gopher and the function fetch() are friends of objects of the
  5. class Helper.  You can place the declaration of a friend anywhere
  6. inside a class definition.
  7.