home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH06 / A06176.TXT < prev    next >
Encoding:
Text File  |  1993-08-18  |  487 b   |  9 lines

  1. Member functions use the same syntax to access static and
  2. nonstatic data members.  The assignment statement here accesses
  3. the static member entry_log.  Adding the classname and scope
  4. resolution operator, as in the increment expression here, is legal
  5. but not necessary.  Notice that the argument "len" has a default
  6. value equal to the static variable days_per_year.  Unlike other
  7. data members, static data members can be used as default values
  8. for arguments of a member function.
  9.