Добавил:
Kaz
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз:
Предмет:
Файл:
#ifndef _RECTANGLE_H_
#define _RECTANGLE_H_
#include"TwoDShape.h"
class Rectangle : public TwoDShape
{
private:
int x2;
int y2;
public:
Rectangle(int _x = 0,int _y = 0,int _x2 = 0,int _y2 = 0);
~Rectangle();
inline int GetX2() { return this->x2; }
inline int GetY2() { return this->y2; }
void Set(int _x,int _y,int _x2,int _y2);
double Area();
void Input();
};
#endif
Соседние файлы в папке Shape