首页 开发技术 C++     /    C++平面图形类实现

C++平面图形类实现

上传者: boouliie | 上传时间:2024/9/12 8:08:14 | 文件大小:2.79MB | 文件类型:zip
C++平面图形类实现
运用面向对象方法设计点类和平面图形类(含点类成员),并由后者派生设计圆类(含圆心、半径)、正方形类(含左上角顶点、边长)与矩形类(含左上角顶点、长和宽)、三角形类(含三个顶点);
同时为有关类设计构造函数、成员数据设置/提取操作函数、顶点显示函数及周长与面积计算函数,其中顶点显示函数及周长与面积计算函数在平面图形类中应定义为纯虚函数。
在主函数中,分别创建各类对象,调用和执行相关成员函数,观察并分析程序运行结果。
本软件ID:8737427

文件下载

资源详情

[{"title":"(36个子文件2.79MB)C++平面图形类实现","children":[{"title":"PMTX","children":[{"title":"PMTX.vcxproj <span style='color:#111;'>4.44KB</span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"PMTX.tlog","children":[{"title":"cl.command.1.tlog <span style='color:#111;'>3.10KB</span>","children":null,"spread":false},{"title":"CL.read.1.tlog <span style='color:#111;'>71.04KB</span>","children":null,"spread":false},{"title":"link.read.1.tlog <span style='color:#111;'>3.04KB</span>","children":null,"spread":false},{"title":"link.write.1.tlog <span style='color:#111;'>528B</span>","children":null,"spread":false},{"title":"CL.write.1.tlog <span style='color:#111;'>4.83KB</span>","children":null,"spread":false},{"title":"link.command.1.tlog <span style='color:#111;'>1.36KB</span>","children":null,"spread":false},{"title":"PMTX.lastbuildstate <span style='color:#111;'>145B</span>","children":null,"spread":false}],"spread":true},{"title":"vc120.pdb <span style='color:#111;'>356.00KB</span>","children":null,"spread":false},{"title":"Rectangle..obj <span style='color:#111;'>136.41KB</span>","children":null,"spread":false},{"title":"Point.obj <span style='color:#111;'>126.73KB</span>","children":null,"spread":false},{"title":"PMTX.log <span style='color:#111;'>1.31KB</span>","children":null,"spread":false},{"title":"PMTX.ilk <span style='color:#111;'>929.51KB</span>","children":null,"spread":false},{"title":"vc120.idb <span style='color:#111;'>379.00KB</span>","children":null,"spread":false},{"title":"Square.obj <span style='color:#111;'>134.10KB</span>","children":null,"spread":false},{"title":"Main.obj <span style='color:#111;'>121.18KB</span>","children":null,"spread":false},{"title":"PMTX.pdb <span style='color:#111;'>1.07MB</span>","children":null,"spread":false},{"title":"Circle.obj <span style='color:#111;'>134.17KB</span>","children":null,"spread":false},{"title":"PMTX.exe <span style='color:#111;'>79.50KB</span>","children":null,"spread":false},{"title":"Triangle.obj <span style='color:#111;'>137.79KB</span>","children":null,"spread":false}],"spread":false},{"title":"Square.cpp <span style='color:#111;'>911B</span>","children":null,"spread":false},{"title":"PMTX.sdf <span style='color:#111;'>7.13MB</span>","children":null,"spread":false},{"title":"Circle.cpp <span style='color:#111;'>890B</span>","children":null,"spread":false},{"title":"Triangle.cpp <span style='color:#111;'>2.32KB</span>","children":null,"spread":false},{"title":"Rectangle.h <span style='color:#111;'>424B</span>","children":null,"spread":false},{"title":"Square.h <span style='color:#111;'>373B</span>","children":null,"spread":false},{"title":"PMTX.sln <span style='color:#111;'>953B</span>","children":null,"spread":false},{"title":"Main.cpp <span style='color:#111;'>703B</span>","children":null,"spread":false},{"title":"PMTX.v12.suo <span style='color:#111;'>30.00KB</span>","children":null,"spread":false},{"title":"PMTX.vcxproj.filters <span style='color:#111;'>1.96KB</span>","children":null,"spread":false},{"title":"Point.cpp <span style='color:#111;'>720B</span>","children":null,"spread":false},{"title":"Triangle.h <span style='color:#111;'>365B</span>","children":null,"spread":false},{"title":"Shape.h <span style='color:#111;'>315B</span>","children":null,"spread":false},{"title":"Point.h <span style='color:#111;'>487B</span>","children":null,"spread":false},{"title":"Rectangle..cpp <span style='color:#111;'>1.39KB</span>","children":null,"spread":false},{"title":"Circle.h <span style='color:#111;'>402B</span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • bzewpxbpej:
    非常好,很给力2017-12-12
  • bzewpxbpej:
    非常好,很给力2017-12-12
  • qq_27944003:
    很有用帮助很大不错2015-05-25
  • qq_27944003:
    很有用帮助很大不错2015-05-25

免责申明

【好快吧下载】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【好快吧下载】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【好快吧下载】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,8686821#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明