文件名称:exp23
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:31.89kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
1.设计一个类CRectanglea.a.该类重的私有成员变量存放Rectangle的左下角x,y和它的长(int)、宽(int),并且长、宽的默认值都是10。b.通过函数设置其长和宽,并确保长和宽在(0,50)范围之内c. 定义求它的周长的函数Perimeter。
并在此基础上实现Move、Size、Area、Getx、Gety函数。-1. Design a class CRectanglea.a. Weight of such private member variables store the lower left corner of the Rectangle' s x, y, and its length (int), width (int), and the length, the width of the default values are 10. by function set its length and width, and to ensure that the length and width of the range (0,50) c. defined demand function of its perimeter Perimeter. On this basis, Move, Size, Area, Getx, Gety function.
并在此基础上实现Move、Size、Area、Getx、Gety函数。-1. Design a class CRectanglea.a. Weight of such private member variables store the lower left corner of the Rectangle' s x, y, and its length (int), width (int), and the length, the width of the default values are 10. by function set its length and width, and to ensure that the length and width of the range (0,50) c. defined demand function of its perimeter Perimeter. On this basis, Move, Size, Area, Getx, Gety function.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
文件名 | 大小 | 更新时间 |
---|---|---|
实验2 | 3/2010010481_340523_11020820_2010010481.rar | |
实验2 | 3/689507402_2_实验二、三.docx | |
实验2 | 3 |
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.