Description: 1, rectangular prepared C++ Process is complete the following functions: (1) the definition of a Point, whose properties include the coordinates of points to provide the calculation method of distance between two points (2) the definition of a rectangle, whose properties include the left angle and the bottom right corner of the two points, to provide the calculation method of the area (3) to create a rectangular object, prompts the user to enter the upper left corner and the lower right corner of rectangular coordinates (4) Observation Point Class of rectangular object, as well as members of constructor and destructor function call (5) to calculate their size, and output
To Search:
File list (Check if you may need any files):
二1.cpp