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
Search - array class - List
[
source in ebook
]
string
DL : 0
本源码为在vc++环境下编写的string类,该类既可 自动调节大小,又可限制数组越界,还重载了一些运算符-The source code in vc++ environment, prepared by the string class that can automatically adjust the size, but also an array of cross-border restrictions, but also a number of operator overloading
Date
: 2026-01-19
Size
: 1kb
User
:
孙东磊
[
source in ebook
]
Array-Complex
DL : 0
复数类的C++实现-Complex array 头文件及源代码-The complex class C++-Complex array header files and source code
Date
: 2026-01-19
Size
: 3kb
User
:
于练
[
source in ebook
]
deck-of-cards
DL : 7
编写一个洗牌和发牌的程序,包含类Card, 类DeckOfCards和一个驱动程序 类Card有: a) int型的数据成员face和suit b) 接受两个int型数据表示面值和花色的构造函数用于初始化数据 c) 两个string类型的static数组代表面值和花色 d) 一个toString函数返回Card,形式是“face of suit”的字符串。可以用+运算符连接字符串 类DeckOfCards有: a) 一个名为deck的Card类vector,用于存储Card b) 代表下一个将要处理的牌的整型值currentCard c) 一个用来初始化deck中的Card的默认构造函数。构造函数使用vector的函数push_back将产生的牌添加到vector的末尾。这个过程对于deck的52张牌都要做一遍 d) 函数shuffle用于洗牌。洗牌算法应该在vector中反复做。对于每张牌,随机选取另一张牌,然后交换这两张牌 e) dealCard函数返回下一张牌 f) moreCards函数返回一个bool值,代表是否还有牌要处理 驱动程序产生DeckOfCards对象,洗牌,然后发牌。 -英语中文(简体)日语Write a reshuffle and licensing program, containing the class Card class DeckOfCards and a driver Class Card: a) int type data members face and suit b) accept two int type data amount and color of the constructor is used to initialize data c) both the static array representing the par value of the string type and color d) a toString function returns the Card, the form of the "face of suit" string. You can use the+ operator connection string Class DeckOfCards: a) a named deck Card class vector for storage Card b) represents the next card to be processed integer value currentCard c) a Card in the default constructor is used to initialize the deck. The constructor uses the vector function push_back card added to the end of the vector. This process for a deck of 52 cards have to do it again d) function is used to shuffle shuffle. The shuffling algorithm should be repeatedly done in the vector. Randomly selected for each card, another card, and then exchange these two ca
Date
: 2026-01-19
Size
: 2kb
User
:
张国
[
source in ebook
]
polynomial
DL : 0
H11增强Polynomial类 (1) 以动态数组实现多项式类。多项式系数的最大上限为int数据类型能表示的最大整数,但在构建对象时不指定系数上限 (2) 对两个Polynomial类对象的运算,分别重载“+”“-”运算,并能够级联调用 (3) 重载“<<”操作符,并能级联调用。 (4) 重载赋值运算符“=”,思考为何必须重载该运算符,如果不重载会发生什么问题? -H11 Enhanced the Polynomial class (1) dynamic array polynomial class. The maximum upper limit of the polynomial coefficients int data type can represent the largest integer, but do not specify when the object is to build the upper limit of the coefficient (2) of two Polynomial class object computing, reload+ " -" operator, and be able to level joint call to (3) " < < " operator is overloaded and can be cascaded call. (4) The overloaded assignment operator " =" , think about why it is necessary to override the operator, what happens if you do not reload?
Date
: 2026-01-19
Size
: 2kb
User
:
张国
[
source in ebook
]
N-sparse
DL : 0
创建一个n维的稀疏数组对象,n是任意值。 定义N可能是大于2的一类n维稀疏阵列。然而,它应该被认为是一种起动方式与普通的MATLAB稀疏矩阵和重塑它有N维度。换句话说,稀疏的数据,首先必须能够作为一个普通的2D MATLAB稀疏矩阵被前n维。事实上,如果目标数组的尺寸mxnxp……yxz,然后将它存储在内部类是一个普通的二维稀疏阵列的尺寸(M×N×P×……×Y)XZ。这导致了某些内存株时使用大量的尺寸。我发现有用的类主要用于中等尺寸像三维图像边缘检测,你经常要举行一个稀疏的3D的边缘地图。-Creates an N-dimensional sparse array object, for arbitrary N.This submission defines a class of N-dimensional sparse arrays for N possibly greater than 2. However, it should really be thought of as a way of starting with an ordinary MATLAB sparse matrix and reshaping it to have N dimensions. In other words, the sparse data must first be able to exist as an ordinary 2D MATLAB sparse matrix before being made N-dimensional. In fact, if the intended array has dimensions MxNxP...YxZ, then the class will store it internally as an ordinary 2D sparse array of dimensions (M*N*P*...*Y)xZ. This leads to certain memory strains when using large numbers of dimensions. I find the class useful mainly for moderate dimensional things like edge detection in 3D imaging, where you often want to hold a sparse 3D edge map.
Date
: 2026-01-19
Size
: 23kb
User
:
刘亮
[
source in ebook
]
017
DL : 0
我们声明类对象数组,与我们申明内置类型数组的形式完全相同-We declare class array of objects, and we stated built-in types are exactly the same in the form of an array
Date
: 2026-01-19
Size
: 10kb
User
:
xw
[
source in ebook
]
CheckAction.class
DL : 0
php中,会遇到树状结构,可能要组织五维数组, 本段程序,很行的如何去组织-A multidimensional array organization, similar to the unlimited categories
Date
: 2026-01-19
Size
: 2kb
User
:
韩磊
[
source in ebook
]
OOT
DL : 0
Notes For OOT (c,c++) programs and examples or them PPTS of different-2 topics like inheritanse ,class object ,encapsulation , array,String . there are some examples of BFS,DFS,Best FS and there implementation code-Notes For OOT (c,c++) programs and examples or them PPTS of different-2 topics like inheritanse ,class object ,encapsulation , array,String . there are some examples of BFS,DFS,Best FS and there implementation code
Date
: 2026-01-19
Size
: 3.48mb
User
:
sandeep
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.