//File:	circle_driver2.cpp
#include "circleMS.h"
#include <fstream.h>

int main()
{
	circle c, d(1.0, 3.0, 5.0, "Test Circle");
	
	cout 	<< "circle c; PRODUCED:\n" << c 
		<< "circle d(1.0, 3.0, 5.0, ""Test Circle""); PRODUCED:\n"
		<< d;
	
	//The following makes use of the "copy" constructor
	//provided by the compiler
	circle e(d); //copies circle d into circle e
	cout << "circle e(d); THE COPY CONSTRUCTOR PRODUCED:\n" << e;
	
	ifstream fin("circle.txt");
	fin >> c;
	cout 	<< "ifstream fin(""circle.txt"");\n"
		<< "with circle.txt: Joe	3	8	3\n"
 		<< "PRODUCED:\n" << c << endl;
	
	cout << "Name	center(x y)	radius " << endl;
	cin >> d;
	cout << d << endl;

	return 0;
}
