یه Sample از اون چیزی که منظور منه :
class Shape
{
protected:
int x,y;
static int i,j;
public:
Shape():x(0),y(0) {}
Shape(int X,int Y):x(X),y(Y) {}
virtual void Draw()
{
}
};
class Circle : public Shape
{
public:
Circle():Shape() { }
void Draw()
{
//Implement Me ...