搜索资源列表
定义抽象基类Shape
- 一个程序,定义抽象基类Shape,由它派生出3个派生类:Circle(圆形)、Rectangle(矩形)、Triangle(三角形),用一个函数printArea分别输出以上三者的面积,3个图形的数据在定义对象时给定。-A program that defines an abstract base class Shape, which it derived three derived classes: Circle (Circular), Rectangle (rectangle), Trian
矩形对象以及Point类成员计算其面积
- 编写C++程序完成以下功能: 定义一个Point类,其属性包括点的坐标,提供计算两点之间距离的方法 定义一个矩形类,其属性包括左上角和右下角两个点,提供计算面积的方法 创建一个矩形对象,提示用户输入矩形左上角和右下角的坐标 观察矩形对象以及Point类成员的构造函数与析购函数计算其面积,并输出 ,The preparation of C++ Process is complete the following functions: the definition of
xufunction
- 写一个程序,定义抽象基类shape, 由它派生3个基类,Circle(圆),Rectangle(矩形),Trapezoid(梯形)。用虚函数分别计算几种图形的面积,并求他们的和。要求:用基类指针数组,使它的每一个元素指向一个派生类对象-Write a program that defines an abstract base class shape, it is derived from the three basic classes, Circle (round), Rectangle (re
MiniDraw
- 简单的绘图小软件,可以绘制线段,矩形,椭圆和任意多边形-Easy small graphics software, you can draw line, rectangle, ellipse and arbitrary polygon
picture3
- 利用MFC实现画图功能,利用CImage类作为画图控件,实现矩形、椭圆等不同图形、不同线型的绘制。-Achieved using MFC drawing functions, the use of CImage class as drawing the control to achieve rectangle, ellipse different graphics, different line drawing.
juxing
- 1、 矩形 编写C++程序完成以下功能: (1) 定义一个Point类,其属性包括点的坐标,提供计算两点之间距离的方法; (2) 定义一个矩形类,其属性包括左上角和右下角两个点,提供计算面积的方法; (3) 创建一个矩形对象,提示用户输入矩形左上角和右下角的坐标; (4) 观察矩形对象以及Point类成员的构造函数与析构函数的调用; (5) 计算其面积,并输出。 -1, rectangular write C++ program completed the follo
drawline
- 画椭圆和矩形,可以选择颜色和画笔的宽度。矩形可以随意的从四面画。-Painted oval and rectangular, you can choose the color and width of the brush. Rectangle can be drawn from all sides.
6_5
- 设计一个鼠标程序,在按下Ctrl键的同时按下鼠标左键,在窗口中拖动鼠标,可以画出一个圆;在按下Shift键的同时按下鼠标左键,在窗口中拖动鼠标,画出一个矩形。-The design of a mouse procedures, press the Ctrl key while pressing the left mouse button, drag the mouse in the window, you can draw a circle in pressing Shift key whil
draw_rectangle
- windows MFC编程,点击鼠标左键,在鼠标点击的区域,屏幕上画一个矩形-windows MFC programming, click the left mouse button, click the mouse region, draw a rectangle on the screen
1
- 1、 矩形 编写C++程序完成以下功能: (1) 定义一个Point类,其属性包括点的坐标,提供计算两点之间距离的方法; (2) 定义一个矩形类,其属性包括左上角和右下角两个点,提供计算面积的方法; (3) 创建一个矩形对象,提示用户输入矩形左上角和右下角的坐标; (4) 观察矩形对象以及Point类成员的构造函数与析构函数的调用; (5) 计算其面积,并输出 -1, rectangular prepared C++ Process is complete the f
fdlibmex
- This code draw a red rectangle aroud the face
drawing_rectangle
- draw rectangle any size with mouse +opencv-draw rectangle any size with mouse+opencv
point-rectangle
- 点和矩形类的组合实例,结构优化版,输入平面两点坐标值求出矩形的面积、周长等。-Combination of point and rectangle class instances, structural optimization version, enter the two plane rectangular coordinate values calculated area, perimeter and so on.
Rectangle
- 根据输入的长宽,计算Rectangle面积周长等功能,并画出在txt文件中-Rectangle Create a class Rectangle with attributes length and width, each of which defaults to 1 a. Provide member functions that calculate the perimeter and the area of the rectangle. b. Also provide se
学用rectangle画方形
- 题目:画图,学用rectangle画方形。 ___________________________________________________________________ 程序分析:利用for循环控制100-999个数,每个数分解出个位,十位,百位。 -Topic: drawing, painting theory and rectangle square. _______________________________
Rubber-band-rectangle
- Rubber band rectangle
rectangle
- 增强的rectangle,使用类的聚合操作-Enhanced aggregation operation rectangle, use class
Rectangle Pack
- Rectangle Packing texture
rectangle
- 一种输出矩形的zuobiao的suanfa-An output of the rectangle zuobiao suanfa
rectangle
- rectangle example for C language
