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

  1. You can control client code access to static members by using the
  2. data encapsulation keywords public, private, and protected.  Here,
  3. for example, the data member entry_log could be recording the last
  4. time a Weather object was updated, or could be counting the number
  5. of instances of Weather objects that have been declared.  The
  6. Weather class can use this variable, but the client code cannot
  7. see it.
  8.