예제 #1
0
파일: lab11-2.cpp 프로젝트: PohanYang/OOP
int main()
{
	 Point2D *pt = new Point4D;
	  pt->display(); cout << endl;
	   delete pt;
	    return 0;
}
예제 #2
0
		void draw(){
			cout<<"center : ";
			center.display();
			cout<<endl<<"radius: "<<radius<<endl;
		};