home *** CD-ROM | disk | FTP | other *** search
- Member functions use the same syntax to access static and
- nonstatic data members. The assignment statement here accesses
- the static member entry_log. Adding the classname and scope
- resolution operator, as in the increment expression here, is legal
- but not necessary. Notice that the argument "len" has a default
- value equal to the static variable days_per_year. Unlike other
- data members, static data members can be used as default values
- for arguments of a member function.
-