// Justin C. Miller
// University of Wisconsin Oshkosh
// Made for: http://www.geocities.com/neonprimetime.geo/index.html
// Date: 2001
// Borland Builder 4.0
#include 
#include 

using namespace std ;

class phone
{
private:
	int area_code ;
	int first_three ;
	int last_four ;
public:
	phone(int a, int b, int c) 
	{set_phone(a, b, c) ;}
	void set_phone(int ac = 999, int f3 = 999, int l4 = 9999)
	{area_code = ac ; first_three = f3 ; last_four = l4;}
	void print()
	{cout << "(" << area_code << ")-" << first_three << "-" << last_four << endl ;}
};

class person
{
private:
	string first_name ;
	string middle_name ;
	string last_name ;
	phone number ;
public:
	person(string fn, string mn, string ln, int a, int b, int c)
		:number(a,b,c)
	{first_name = fn; middle_name = mn; last_name = ln;}
	phone get_number()
	{return number;}
	void print()
	{ cout << last_name << ", " << first_name << " " << middle_name << endl ;
	number.print() ;}
};

int main()
{
	person micky("Micky", "Lee", "Dake", 900, 765, 1798), justin("Justin", "Claude", "Miller", 900, 437, 2445) ;
	micky.print() ;
	justin.print() ;
	
	cout << "These two people rule!" << endl ;
	return 0 ;
}

    Source: geocities.com/neonprimetime.geo/cpp/cpp_SourceCode

               ( geocities.com/neonprimetime.geo/cpp)                   ( geocities.com/neonprimetime.geo)