Location:
Search - dynamic array
Search list
Description: 本代码提供对动态数组的支持,在内存中程序将数据分块存放,避免了大块内存的申请。同时,与普通的双向链表不同,本代码提供了对内部数据的快速索引,大大提高了数据访问速度-The code provides for dynamic array support program in memory data block storage, to avoid the large memory applications. At the same time, with ordinary two-way different list, the source of internal data to provide rapid indexing, greatly improving the speed of data access
Platform: |
Size: 7168 |
Author: 温馨 |
Hits:
Description: 将2维数组映射成一维数组处理,能够动态开辟二维数组空间,运算符重载过-to two-dimensional arrays into one-dimensional mapping array processing, dynamic open to two-dimensional arrays of space, too Operator
Platform: |
Size: 1024 |
Author: softnow |
Hits:
Description: /**
* 动态数组的模板类
* 1.支持字符索引
* 2.方便的添加删除修改任意一项
* 最后更新 2004-8-9 yzh
**1.优化了字符索引的运作方式,使用数组存储
**2.重写了底层数据的存储,将连续性的存储方式改为了非连续,
*** 从而很好有效地支持了“引用”,并且让数据的删除增加变的更为快速
* 用法如:
* YCArray<int,int> test
* test.Add("Number2",4)
* test.Add("Number1",2)
* printf("%d %d",test["Number1"],test["Number2"])
* 显示:
* 2 4
*******
*******
History:
2004-11-19
修改了析构函数,解决了索引没有释放的bug
**/-/*** dynamic array template class* 1. Support characters Index* 2. Add convenience to delete arbitrary* a final update 2004-8-9 yzh** 1. Character Index optimized mode of operation, the use of storage arrays** 2 . a rewrite of the underlying data storage, storage continuity conversion of non-continuous, and thus good*** effective support to the "quote", and let the data changed to delete the more rapid* usage such as :* YCArraylt; int, intgt; test* test. Add ( "Number2", 4)* test.Add ( "Number1", 2)* printf ( "% d% d", test [ "Number1"] test [ "Number2"])* Display :** 2 4************* History : 2004-11-19 revised the destructors, the index did not address the release of bug** /
Platform: |
Size: 5120 |
Author: 叶振华 |
Hits:
Description: 动态数组应用实例,简单介绍如何使用动态数组-dynamic array example, a brief introduction on how to use dynamic arrays
Platform: |
Size: 1024 |
Author: 邓江 |
Hits:
Description: 一个动态数组设置程序,可以增加,删除数组头,尾,和一般数组效率比较等-a dynamic array setup program can add, delete arrays head, tail, and the general comparison of the efficiency of the array
Platform: |
Size: 28672 |
Author: liuyidao |
Hits:
Description: 实习性
动态数组(第二版)
大量数据的管理是很多程序员的心病,很难找到一个速度快、效率高、支持超大规模数据的表动态数组是一个功能强大的列表形数据管理链表,利用它可以轻松实现超大数据量的随机插入、删除、修改等操作,它另外一个特点就是速度极快,内存利用率高。 -Practice of dynamic arrays (Second Edition) a large amount of data management is the heart of many programmers, it is difficult to find a fast, high efficiency, support for ultra-large-scale data table dynamic array is a powerful list of shape data management list using it can easily realize large amount of data random insert, delete, modify, such as operation, it is another feature of this approach is extremely fast, high memory utilization.
Platform: |
Size: 47104 |
Author: 谢明强 |
Hits:
Description: 数据结构(c++语言描述)动态数组类的定义和实现-Data structure (c++ Language description) dynamic array type definition and realize
Platform: |
Size: 1024 |
Author: diyi |
Hits:
Description: c和c++动态数组的实现.visual studio 2008下编译通过-c and c++ realize dynamic array. visual studio 2008 under the compiler through
Platform: |
Size: 214016 |
Author: 陈利聪 |
Hits:
Description: 完成满足上述接口的动态数组(Dynamic array)的程序;
需要遵循基本的编程规范和风格;
动态分配内存用C++的函数new/delete,不用malloc/free;
处理好动态分配的运用,不要出现内存泄漏;
了解C++类的构造函数和析构函数的作用;
熟悉C++类的写法(*.h, *.cpp);
各种情况考虑周到,不要出现程序崩溃;
- completed to meet the interface dynamic arrays (Dynamic array) the program need to follow the basic programming norms and style dynamic allocation of memory using C++ functions that new/delete, not malloc/free handle the dynamic allocation of use Memory leaks do not occur learn C++ class constructor and destructor role know C++ class written (*. h,*. cpp) thoughtful consideration all the circumstances, do not crash there
Platform: |
Size: 252928 |
Author: 陈婉 |
Hits:
Description: stl中vector的替代代码,动态数组实现的代码-stl code in an alternative vector, dynamic array implementation of the code
Platform: |
Size: 4096 |
Author: kang |
Hits:
Description: 动态数组:指在声明时没有确定数组大小的数组,即忽略圆括号中的下标;当要用它时,可随时用ReDim语句重新指出数组的大小。-dynamic array
Platform: |
Size: 1024 |
Author: 杨亚东 |
Hits:
Description: 在c++中利用类模板建立动态数组,实现数组的排序,插入,删除-In c++,use a dynamic array class template, realize the array sort, insert, and delete
Platform: |
Size: 4096 |
Author: zhusujie |
Hits:
Description: 一维动态数组类:定义和一维动态数组,包括重载数组运算符-One-dimensional dynamic array class: definition and one-dimensional dynamic array, including overloaded array operator
Platform: |
Size: 1024 |
Author: zzs |
Hits:
Description: how to work with Dynamic Array of Structs (Bubble Sort
Platform: |
Size: 5120 |
Author: dooba |
Hits:
Description: 动态数组类,动态数组(Dynamic Array)类的封装练习-Dynamic array class, dynamic array (Dynamic Array) package practice
Platform: |
Size: 4579328 |
Author: 李丁 |
Hits:
Description: 动态数组接口实验 增加了最大动态分配内存提高效率 重载操作符= [ ],了解C++封装特性-Dynamic array 2
Platform: |
Size: 4096 |
Author: xiaoqiang |
Hits:
Description: 三维动态数组的建立,使用malloc,free,指针,并点明建立要点-Build three-dimensional dynamic array using malloc, free, hands, and pointing to the establishment of points
Platform: |
Size: 14336 |
Author: chenshuoli |
Hits:
Description: 动态数组、随机数、文件写入教学
学生考试出卷系统-Dynamic array, random number, document writing teaching
Students test paper setting system
Platform: |
Size: 292864 |
Author: lsc |
Hits:
Description: 动态数组接口实验 增加了最大动态分配内存提高效率 重载操作符= [ ],了解C++封装特性-Dynamic array 2
Platform: |
Size: 5120 |
Author: hx45chui |
Hits:
Description: 利用迭代器实现动态数组功能,C++类的方法实现(Using iterators to implement a dynamic array, running without failure)
Platform: |
Size: 5732352 |
Author: Arwen_yuan
|
Hits:
« 12
3
4
5
6
7
8
9
10
...
23
»