home *** CD-ROM | disk | FTP | other *** search
- If a member function is defined outside the class, you must
- declare the member function inside the class. Notice the
- class-name, "Weather", followed by the scope resolution operator
- in the definition of the function redoit(). This is the syntax
- for indicating that this function is a member of the class
- "Weather". Defining member functions outside the class is often a
- good idea, especially if the function body is large. Programmers
- using your class then see only the interface in the class
- definition.
-