Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - array class
Search - array class - List
/** * 动态数组的模板类 * 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 ** /
Date : 2008-10-13 Size : 4.98kb User : 叶振华

/** * 动态数组的模板类 * 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** /
Date : 2026-01-19 Size : 5kb User : 叶振华

a+b的实现添加ArrayTools类,要求包括下面的静态方法。 static void sort(Person[] a) 该方法可以对Person类型的数组进行升序排序,排序依据a数组中元素的compareTo方法。-Add ArrayTools class requirements include the following static methods. static void sort (Person [] a) -the realization of a+b to add ArrayTools class requirements include the following static method. static void sort (Person [] a) the method can Ascending sort an array of Person type compareTo method to sort a elements in the array.-Add ArrayTools class requirements include the following static methods. Static void sort (Person [] a)
Date : 2026-01-19 Size : 1.94mb User : ghhg

代码是用来实现使用CStringArray类创建和使用字符串数组的程序的源码,好,有需要的朋友可以-The code is used to achieve the to use CStringArray class to create and use an array of strings, the source code of the program, good, need friends can see
Date : 2026-01-19 Size : 30kb User : 吕丽芳

动态数组类,动态数组(Dynamic Array)类的封装练习-Dynamic array class, dynamic array (Dynamic Array) package practice
Date : 2026-01-19 Size : 4.37mb User : 李丁

比VC自带的数组类CArray还快的数组类-Than the VC' s own array type faster array CArray Class
Date : 2026-01-19 Size : 2kb User : lan61579
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.