文件名称:case
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:53.21kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
王婆卖瓜,每卖一个瓜记录该瓜的重量,还要记录所卖出的总重量和中个数。同时还允许退瓜。用面向对象方法设计王婆卖瓜的程序,首先要设计类。以西瓜为对象,对西瓜watermelon类定义各种属性和操作。现在用动态内存分配的方案编写该程-Every potter praises his record that each sell a melon melon s weight, but also record the total weight sold and the number. It also allows the back melon. Object-oriented program designed potter praises, we must first design class. Watermelon as the object of the class definition watermelon watermelon variety of attributes and operations. Now with dynamic memory allocation scheme to prepare the way
(系统自动生成,下载前可以参看下载内容)
下载文件列表
case.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.