Defining Member Functions
return_type class_name::member_function_name(parameter_list)
void DayOfYear::output( )
cout << "month = " << month
<< ", day = " << day << endl;
The operator :: is called the scope resolution operator
The scope resolution operator is used to tell what a member function
The class name that proceeds the scope resolution operator is called a
Note that there is no object quantifier
before use of member variables (e.g.
month and day) in a member function