Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - Rectangle
Search - Rectangle - List
DL : 0
Design and test a category called Rectangle rectangular, rectangular attribute to the lower left corner of the upper-right corner and the coordinates of two points, to calculate the size of rectangular
Date : 2025-12-16 Size : 2kb User : water

DL : 0
本程序可以进行准确的绘制简单线条,例如,直线、点、矩形-This procedure can be simple and accurate line drawing, for example, a straight line, point, rectangle, etc.
Date : 2025-12-16 Size : 69kb User : 靳飞飞

DL : 0
在Visual C++ 6.0的环境中,实现画矩形及椭圆,和圆的操作。-In Visual C++ 6.0 environment, the realization of painting rectangular and oval, and round operation.
Date : 2025-12-16 Size : 24kb User : canteen

DL : 0
给定n个大小不等的圆c1,c2,…..,cn,现要将这n个圆排进一个矩形框中,且要求各圆与矩形框的底边相切。圆排列问题要求从n个圆的所有排列中找出有最小长度的圆排列。-Given n different sizes of circles c1, c2, ... .., cn, is exclusive to the n-circle into a rectangular box, and asked to circle and tangent to the bottom edge of rectangle. Circular arrangement problem requires n-round from all arranged in a circle to identify the minimum length of the array.
Date : 2025-12-16 Size : 1kb User : piepie

hdu 1828 线段树,矩形并的周长,经典的模板-hdu 1828 segment tree, and the perimeter of the rectangle, the classic template
Date : 2025-12-16 Size : 1kb User : longbo

DL : 0
用类的多态性计算矩形,三角形,梯形的面积。-Calculated using polymorphic class rectangle, triangle, trapezoid, area.
Date : 2025-12-16 Size : 4kb User : 乐哥

VC++编写的画圆和矩形的例子,是计算机绘图的重要学习资料-Written in VC++ examples of circle and rectangle, is important to learn computer graphics data
Date : 2025-12-16 Size : 3.5mb User : 田忠运

DL : 0
本程序是VC中的CDC类的一个Demo,测试画圆,矩形,区域,颜色,及对象素的操作Demo。-VC in the program is a CDC class Demo, the test circle, rectangle, region, color, and the operation of the pixel Demo.
Date : 2025-12-16 Size : 10.12mb User : 冯军

DL : 0
一个程序,定义抽象基类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), Triangle (triangle), respectively, with output of more than one function printArea three of the area, three graphics the data given in the definition of the object.
Date : 2025-12-16 Size : 262kb User : sword

DL : 0
定义了一个三角形类,包括面积,颜色,是否填充等属性-Defines a triangle class, including size, color, whether the fill attributes such as
Date : 2025-12-16 Size : 1kb User : 林程

定义一个表示矩形的类Rectangle,数据成员为长度length和宽度width,其成员函数包括构造函数、设置数据成员值的函数、计算周长的函数perimeter和获取矩形长宽的函数get。 其中,构造函数有两个,一个没有参数,长、宽的初始值为1,1;另一个构造函数用指定的长、宽初始化。 获取矩形长宽的函数get没有返回值,使用参数的引用传递获得矩形的长和宽。 -Define a representation of the rectangle class Rectangle data member width, the length of the length and width of its member functions, including the constructor, set the function of the data member value, calculate the circumference of the function of perimeter and access to the function of the get of the length and width of the rectangle. Among them, the constructor has two, a parameter, the width of the initial value of 1,1 another constructor with the specified length, width and initialize. For rectangle length and width of the function get no return value, using the parameters passed by reference rectangle length and width.
Date : 2025-12-16 Size : 897kb User : 秦润

1)定义一个名为Circle的结构体(圆),其数据成员是圆的内接矩形的左上角和右下角两点的坐标。(2)编写计算圆的面积的函数,函数原型为 double carea(Circle C ) 其中的返回值为圆C的面积。圆周率PI取为3.14。 编写主函数,定义一个结构体类型的变量,输入圆的内接矩形的两个对角顶点坐标,调用carea()函数计算面积并打印。 程序运行结果如下: 输入: 0 0 4 4 输出: 25.12 程序运行结果如下: 输入(要计算完全数的起止位置): 2 10000 输出: 6 28 496 8128 -1) define a structure named Circle (circle), the data member is a circle within the rectangle to the upper left corner and lower right corner of two coordinates. (2) write a function of computing the area of ​ ​ a circle, the function prototype for double carea (Circle C) Which the return value is the area of the circle C. Pi PI was 3.14. Write the main function, to define a structure variable of type, enter the circle within the rectangle to 2 diagonal vertex coordinates, the call carea () function to calculate the area and print. The program runs the following results: Input: 0044 Output: 25.12 The program runs the following results: Input (to calculate the perfect number of the start and end position): 210 000 Output: 6284968128
Date : 2025-12-16 Size : 899kb User : 秦润

DL : 0
设计一个类CRectangle,有5个数据成员(私有属性),分别为矩形左上顶点的横坐标、纵坐标和矩形的长、宽及矩形的面积。-Design a CRectangle, five data members (private property), respectively, for the length of the rectangular upper left vertex horizontal, the vertical axis and the rectangle, width and area of ​ ​ a rectangle.
Date : 2025-12-16 Size : 177kb User : FANJ

DL : 0
创建最基本的类,这个类的名字是Rectangle,有两个无符号整数类型的属性(变量)。-Create a basic class, the name of the class Rectangle, two unsigned integer types of attributes (variables).
Date : 2025-12-16 Size : 6kb User : 李健

DL : 0
Define a function that computes the area of a rectangle. It should not contain any cin or cout statements. Define a function that asks the user to enter a double number and returns that number. Reference and Value Parameters What is the value of x and y at the end of the main function
Date : 2025-12-16 Size : 7kb User : alaa

DL : 0
定义一个抽象类CShape,包含两个纯虚函数Area(计算面积)和SetData(重设形状大小)。然后派生出矩形CRect类、圆CCircle类,分别求面积。最后定义一个CArea类,计算这几个形状的面积之和,各形状的数据通过CArea类构造函数或成员函数来设置。编写一个完整的程序。 -The definition of an abstract class CShape, contains two pure virtual function Area (calculate the area) and the the SetData (reset the size and shape). Rectangle CRect class and then derive the round CCircle class, respectively quadrature. Last to define a CArea class, calculate the area and shape, the shape data set by CArea class constructor or member function. Write a complete program.
Date : 2025-12-16 Size : 1kb User : 李叶

DL : 0
把定义平面直角坐标系上的一个点的类CPoint作为基类,派生出描述一条直线的类CLine,再派生出一个矩形类CRect。要求成员函数能求出两点间的距离,矩形的周长和面积等。-Define a Cartesian coordinate system on a point of the class CPoint as a base class, derived class CLine describe a straight line, and send another to give birth to a rectangle class CRect. Requirements of the member function to the distance between two points can be obtained in a rectangular perimeter and area.
Date : 2025-12-16 Size : 1kb User : 李叶

脏矩形技术 Dirty rectangle technology-Dirty rectangle technology
Date : 2025-12-16 Size : 25kb User : JK

DL : 0
可以MFC画矩形,直线,并且可以自定义不同的画笔颜色。-you can draw rectangle and line
Date : 2025-12-16 Size : 12.96mb User : yushanshan

DL : 0
设计并实现一个矩形类,实现求矩形的面积,周长,移动矩形的位置等功能。-Design and implement a rectangle class, seeking to achieve a rectangular area, perimeter, position rectangle functions.
Date : 2025-12-16 Size : 835kb User : wwwhxj
« 12 »
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.