CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - array class
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Sub Category
Compress-Decompress algrithms
STL
Data structs
Algorithm
AI-NN-PR
matlab
Bio-Recognize
Crypt_Decrypt algrithms
mathematica
Maple
DataMining
Big Data
comsol
physical calculation
chemical calculation
simulation modeling
Search - array class - List
[
Mathimatics-Numerical algorithms
]
f
DL : 0
设计一个类模板Find,用于对一个有序数组采用二分法查找指定数据的元素下标-The design of a class template Find, for an orderly array of data using dichotomy to find the elements specified subscript
Date
: 2026-01-19
Size
: 1kb
User
:
苏浙
[
Mathimatics-Numerical algorithms
]
bbeee
DL : 0
定义并实现一个整数集合类int_set,集合类中cur_size表明当前集合中有几个整数,集合中最多含max_size个整数,存放集合元素的数组是动态的。要求提供的方法有: (1)增加一个整数到集合中; (2)从集合中去掉一个元素; (3)判断一个元素是否在集合中; (4)重载<<运算法,输入集合;重载>>运算符输出集合; (5)分别实现集合的交、并、差运算。 -Defined and implemented a set of integers class int_set, a collection of classes cur_size indicate that the current collection there are several integers, set up to contain max_size integers and store the collection elements of the array is dynamic. Requested methods are: (1) Add a integer to set (2) remove an element from the collection (3) to determine whether an element in the collection (4) overload " " algorithm, enter the collection overloaded " " a collection of operator outputs (5), respectively to achieve cross-collection, and, poor operation.
Date
: 2026-01-19
Size
: 1kb
User
:
杨锋
[
Mathimatics-Numerical algorithms
]
RandomArray
DL : 0
一个简单、快捷、实用的随机数组产生方法类,经调试通过,注:本压缩包内没有附带示例程序,你需要自己编写一个实例程序进行测试,用本类生成的随机数组如图所示-A simple, fast and practical method for forming the random array of classes, after debugging through, Note: This compressed file does not comes with sample programs, you need to have written an example program to test, using this class generates a random array as shown in Figure
Date
: 2026-01-19
Size
: 7kb
User
:
ddfeng123
[
Mathimatics-Numerical algorithms
]
ChangNum
DL : 0
VC++金额大小写转换实用源码,在数字框中任意输入数字 ,己把它做成了一个CnumToHan类,使用方法在示范程序中。运行程序后,在下边的文本框中会适时转换出对应的中文大小汉字,学习VC的可参考一下,这是一个数组与字符结合的综合实例。 -Case the amount of VC++ source code conversion utility, enter any number in the digital box, had it made into a CnumToHan class, using the method in the demonstration program. After running the program in the text box below will be timely converted the size of the corresponding Chinese characters, as indicated in the legend to learn VC' s can refer to, which is a combination of a comprehensive array instance with the character.
Date
: 2026-01-19
Size
: 19kb
User
:
madud00106
[
Mathimatics-Numerical algorithms
]
xufunction
DL : 0
写一个程序,定义抽象基类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 (rectangle), Trapezoid (trapezoid). Virtual functions were calculated using several graphics area, and find their sum. Requirements: The base class array of pointers, each element it points to a derived class object
Date
: 2026-01-19
Size
: 1kb
User
:
wangjian
[
Mathimatics-Numerical algorithms
]
e
DL : 0
题1:编写一个对具有n个元素的数组x[]求最大值的程序,要求将求最大值的函数设计成函数模板。 题2:编写一个函数模板add,能够实现int,double, float, char数据类型的加法运算(包括它们之间的混合加法运算)。 题3:定义一个类模板Sample实现int,double, float数据类型的比较,并能给出最大值,最小值;-Problem 1: Write one pair of n-element array x [] seek maximum program, will seek the maximum value of the function requires a function of the design template. Question 2: Write a function template add, to achieve int, double, float, char data type addition (including a mixture of addition operations between them). Question 3: Define a class template Sample achieve int, double, float data type comparisons, and can give the maximum, minimum
Date
: 2026-01-19
Size
: 1kb
User
:
吴玉祝
[
Mathimatics-Numerical algorithms
]
Class-and-object-
DL : 0
1. 建立一个对象数组,内放5个学生的数据(学号、成绩)。请根据下面要求实现类中的功能,其他的函数根据需要创建。 (1). 用指针指向数组首元素,输出第1,3,5个学生的数据。 (2). 以对象指针作为形式参数找出5个学生中学习成绩最高者。注:函数名为max 2. 定义一个圆类,分别用以下方法计算圆的面积和周长。 (1). 用成员函数实现求圆的面积和周长。 (2). 用友元函数求圆的面积和周长 -(1) create an array of objects, put the data of the five students (results). According to the following requirements in the class of functions, and other functions need to create. (1) with a pointer to the first element of the array, the output data of 1, 3 and 5 students. (2). Object pointer as a formal parameter to identify the five students in grades. Note: function called max 2 define a circle class, use the following methods to calculate the circle area and perimeter. (1) member function of circular area and perimeter. (2). UF Function round the area and perimeter
Date
: 2026-01-19
Size
: 2kb
User
:
苏树峰
[
Mathimatics-Numerical algorithms
]
array104
DL : 0
C++的数组类管理类定义被本人持续使用并完善超过20年支持动态数组,和2维数组类似于VC++中的CArray,且许多内部方法都与CArray的内部方法相同,但效率和方便性比CArray要好许多。特别重要的是:它们可以跨平台地工作于任何C++开发环境。-A c++ array management type definition series. They work like CArray class in VC++.But they work more efficient and more convenient than CArray .Most importantly,they work cross-platform,they can work under any C++ development platform.
Date
: 2026-01-19
Size
: 6kb
User
:
yi428428
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.