int Ai; Ai=nLength*nWidth; return Ai; }
double Area_double() { double Ad; Ad=dLength*dWidth; return Ad; }
virtual ~Rect() { cout<<\ } private:
int nLength; int nWidth; double dLength; double dWidth; };
void main() { Rect R1(1,2); cout<
int Ai; Ai=nLength*nWidth; return Ai; }
double Area_double() { double Ad; Ad=dLength*dWidth; return Ad; }
virtual ~Rect() { cout<<\ } private:
int nLength; int nWidth; double dLength; double dWidth; };
void main() { Rect R1(1,2); cout<
下一篇:一位普通小学乡村教师的悼词