home *** CD-ROM | disk | FTP | other *** search
- // \EXAMPLES\EX08062.CPP
- // member functions of PhoneNum
- //--------------------------------------------------------------
-
- // files in this example:
- // %F,15,EX08061.H%EX08061.H definition of class String
- // %F,15,EX08062.H%EX08062.H definition of class PhoneNum
- // %F,15,EX08063.H%EX08063.H definition of List and ListIter
- // %F,15,EX08064.H%EX08064.H definition of class PhoneBk
- // %F,15,EX08061.CPP%EX08061.CPP member functions of class String
- // EX08062.CPP this file
- // %F,15,EX08063.CPP%EX08063.CPP member functions List and ListIter
- // %F,15,EX08064.CPP%EX08064.CPP member functions of class PhoneBk
- // %F,15,EX0806.CPP%EX0806.CPP main to exercise PhoneBk class
- //--------------------------------------------------------------
- #include "EX08062.H"
-
- //---------------------------------------------------------------
- // member functions of the PhoneNum class
- //--------------------------------------------------------------------
-
- ostream& PhoneNum::print(ostream& os)
- { name.print(os)
- << "\t"
- << tel
- << "\t"
- << endl;
- return os;
- }
-
- //--------------------------------------------------------------------
-