第12章(7)

2019-03-09 23:13

315 第12章 UML模型的C++实现

area = length * width; return area; }

string getName() { return \ }

}

class Triangle : Shape{ private:

double length; double height; public:

Triangle(double l, double h){ length = l; width = w; }

double compArea() {

area = 0.5 * length * height; return area; }

string getName() {

return \ } }

class Student{ public:

Schedule* theSchedule;

Student(){

theSchedule = new Schedule[5]; } }

class Schedule{ public:

Student theStudent; Schedule(){} }


第12章(7).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:09生毕业论文(设计)工作的暂行规定

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: