c/c++写个类要求输入四个顶点并判断是否为等边三角形
c/c++写个类要求输入四个顶点并判断是否为等边三角形
日期:2012-07-03 13:08:46 人气:2
请参考:
#include
using namespace std;
class Rectangle
{
private:
float upleftx;
float uplefty;
float uprightx;
float uprighty;
float downrightx;
float downrighty;
float downleftx;
float downlefty;
public:
Rectangle(float upleftx,float