Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - Radius point
Search - Radius point - List
DL : 0
#include<iostream> using namespace std class Point {public: Point(int a){x=a } ~Point(){cout< \"execuing Point destructor\"<<endl } private: int x } class Circle:public Point {public: Circle(int m,int n):Point(m){radius=m } ~Circle(){cout<<\"execuing Circle destructor\"<<radius<<endl } private: int radius } int main() {Point *p=new Circle(5,12) delete p system(\"pause\") return 0 }
Date : 2008-10-13 Size : 1.66kb User : 华盛

DL : 0
#include<iostream> using namespace std class Point {public: Point(int a){x=a } ~Point(){cout< \"execuing Point destructor\"<<endl } private: int x } class Circle:public Point {public: Circle(int m,int n):Point(m){radius=m } ~Circle(){cout<<\"execuing Circle destructor\"<<radius<<endl } private: int radius } int main() {Point *p=new Circle(5,12) delete p system(\"pause\") return 0 }
Date : 2008-10-13 Size : 2.04kb User : 华盛

圆心在原点,半径为R的第一个4分圆的Bresenham画圆算法程序,将该算法程序推广到任一四分圆,从而形成一般的Bresenham画圆算法。并利用Bresenham画圆算法画出一个圆心在点(xc,yc), 半径为R, 圆周颜色为color的圆-Center in the basics of radius R for the first four hours round the Bresenham algorithm Circle procedures, procedures for the promotion of this algorithm, arrived on January 4 pm yen, thus forming a general Circle Bresenham algorithm. Circle and the use of Bresenham algorithm to identify a point in the center of a circle (xc, yc), the radius R, Circle color color circle
Date : 2008-10-13 Size : 878byte User : 成龙
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.