实验E5:设计一个矩形类(类的设计)
declare.h#pragma onceclass Point;class line;class Rectangle;Rectangle.h#pragma once#include <iostream>#include <algorithm>using namespace std;class Point { double x, y;public: Point(double px = 0, double py = 0) {