コード例 #1
0
ファイル: lab11-2.cpp プロジェクト: PohanYang/OOP
int main()
{
	 Point2D *pt = new Point4D;
	  pt->display(); cout << endl;
	   delete pt;
	    return 0;
}
コード例 #2
0
ファイル: ex10-1.cpp プロジェクト: MotoLee/OOP_NCTU-OCW
		void draw(){
			cout<<"center : ";
			center.display();
			cout<<endl<<"radius: "<<radius<<endl;
		};