-
定义一个抽象类的CShape,包括纯虚数Area(用来计算面积)和SetData(用来重设形状大小)。然后派生出三角形CTriangle类、矩形CRect类、圆...
定义一个抽象类的CShape,包括纯虚数Area(用来计算面积)和SetData(用来重设形状大小)。然后派生出三角形CTriangle类、矩形CRect类、圆CCircle类,分别求其面积。最后定义一个CArea类,计算这几个形状的面积之和,各形状的数据通过CArea类构造函数或成员函数来设置。-Defines an abstract class CShape, including the pure imaginary number Area (used to calculate the area) and SetData (used to reset the shape, size). Then the triangle CTriangle derived class, rectangle CRect class, round CCircle categories, seeking its size. The final definition of a CArea class, calculate the size of the sum of several shapes, each shape data through CArea class constructor or member function to set up.
- 2022-05-05 02:27:06下载
- 积分:1
-
This a version control software.No need to register.
This a version control software.No need to register. -This a version control software.No need to register.
- 2022-12-04 17:55:04下载
- 积分:1
-
Complex network
有关复杂网络研究的ppt,是从事复杂网络研究人员难得的资料。-Complex network-related research ppt, is engaged in a rare complex network of information researchers.
- 2022-04-30 14:57:21下载
- 积分:1
-
此为一控制LED灯的源程序,通过控PWM方式实现色彩的柔和变化
此为一控制LED灯的源程序,通过控PWM方式实现色彩的柔和变化-this as a control LED lights of the source, through the PWM control means soft color change
- 2022-03-22 22:50:08下载
- 积分:1
-
运动会分数统计
运动会分数统计- The games score counts
- 2022-08-19 08:50:12下载
- 积分:1
-
演示了如何生成一个COM组件
演示了如何生成一个COM组件-demonstration of how to create a COM
- 2022-06-26 10:04:41下载
- 积分:1
-
单链表的插入和删除实验目的:
1、定义单链表的结点类型
2、通过单链表的定义掌握线性表的链式存储结构的特点;
3、熟悉单链表的建立以及插入、删...
单链表的插入和删除实验目的:
1、定义单链表的结点类型
2、通过单链表的定义掌握线性表的链式存储结构的特点;
3、熟悉单链表的建立以及插入、删除等基本操作。
-# include
# include
# define ND sizeof(struct List)
struct List
{int data
struct List*next
}
void main()
{ int n,i=1,e,a
struct List*head
struct List*p,*q
q=head=p=(struct List*)malloc(ND)
- 2022-04-15 10:12:17下载
- 积分:1
-
bowling scoring for the calculation algorithm
提供计算保龄球得分的算法-bowling scoring for the calculation algorithm
- 2022-02-04 06:08:22下载
- 积分:1
-
凡四大皆空暖风机看四大皆空妇女三角裤赴河南江苏 。
凡四大皆空暖风机看四大皆空妇女三角裤赴河南江苏 。-Where nothing heaters women look nothing briefs to Henan and Jiangsu.
- 2022-11-15 04:05:03下载
- 积分:1
-
MS12864J的C51显示程序,这两个程序我改了好久,可是总显示不了,那位高手帮帮忙吧,谢谢,谢谢。...
MS12864J的C51显示程序,这两个程序我改了好久,可是总显示不了,那位高手帮帮忙吧,谢谢,谢谢。-Two C programs of MS12864J,not compiled.Anyone help me?
- 2022-01-26 06:10:56下载
- 积分:1