文件名称:jichen
介绍说明--下载内容来自于网络,使用问题请自行百度
继承与派生
内容:定义一个点类,包含X,Y的坐标数据成员,显示函数和计算面积的函数成员;以点为基类派生一个圆类,增加表示半径的数据成员,重载显示和计算面积的函数;定义一个直线类,以两个点类对象作数据成员,定义显示、求面积及长度函数。
-inheritance and derived elements : a definition point category, including X, Y coordinates of the data, calculations show function and the function area; point to the base class for a round like derivatives, the increase in the radius of the data, Heavy display and calculation of the area of function; definition of a linear type, points to two categories of data objects, definitions, seeking size and length function.
内容:定义一个点类,包含X,Y的坐标数据成员,显示函数和计算面积的函数成员;以点为基类派生一个圆类,增加表示半径的数据成员,重载显示和计算面积的函数;定义一个直线类,以两个点类对象作数据成员,定义显示、求面积及长度函数。
-inheritance and derived elements : a definition point category, including X, Y coordinates of the data, calculations show function and the function area; point to the base class for a round like derivatives, the increase in the radius of the data, Heavy display and calculation of the area of function; definition of a linear type, points to two categories of data objects, definitions, seeking size and length function.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
继承与派生.doc
www.dssz.com.txt
www.dssz.com.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.