(/***dynamicarraytemplateclass*1.SupportcharactersIndex*2.Addconveniencetodeletearbitrary*afinalupdate2004-8-9yzh**1.CharacterIndexoptimizedmodeofoperation,theuseofstoragearrays**2.arewriteoftheunderlyingdatastorage,storagecontinuityconversionofnon-continuous,andthusgood***effectivesupporttothe"quote",andletthedatachangedtodeletethemorerapid*usagesuchas:*YCArraylt;int,intgt;test*test.Add("Number2",4)*test.Add("Number1",2)*printf("%d%d",test["Number1"]test["Number2"])*Display:**24*************History:2004-11-19revisedthedestructors,theindexdidnotaddressthereleaseofbug**/)-IMDN开发者社群-imdn.cn"> (/***dynamicarraytemplateclass*1.SupportcharactersIndex*2.Addconveniencetodeletearbitrary*afinalupdate2004-8-9yzh**1.CharacterIndexoptimizedmodeofoperation,theuseofstoragearrays**2.arewriteoftheunderlyingdatastorage,storagecontinuityconversionofnon-continuous,andthusgood***effectivesupporttothe"quote",andletthedatachangedtodeletethemorerapid*usagesuchas:*YCArraylt;int,intgt;test*test.Add("Number2",4)*test.Add("Number1",2)*printf("%d%d",test["Number1"]test["Number2"])*Display:**24*************History:2004-11-19revisedthedestructors,theindexdidnotaddressthereleaseofbug**/) - IMDN开发者社群-imdn.cn">
登录
首页 » Visual C++ » YCArray

YCArray

于 2005-09-06 发布 文件大小:5KB
0 222
下载积分: 1 下载次数: 0

代码说明:

说明:  /** * 动态数组的模板类 * 1.支持字符索引 * 2.方便的添加删除修改任意一项 * 最后更新 2004-8-9 yzh **1.优化了字符索引的运作方式,使用数组存储 **2.重写了底层数据的存储,将连续性的存储方式改为了非连续, *** 从而很好有效地支持了“引用”,并且让数据的删除增加变的更为快速 * 用法如: * YCArray 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** /)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • AUpdateProvider
    一个完善的升级程序,可供编写自动升级程序模块参考。(A complete update program solution.)
    2014-01-18 00:38:42下载
    积分:1
  • CtrlIPClt
    网络方面关于ip的得到与获取方面的代码,哈哈哈 (ip on the network and get access to the area code, Ha Ha Ha)
    2006-11-14 11:08:37下载
    积分:1
  • ChatRoom(Winsock)
    这是一个用于局域网内部进行聊天通信的小软件源程序,对于学习和了解winsock编程很有借鉴意义。(This is a chat for LAN communications within a small software source code, for learning and understanding of referential significance to winsock programming.)
    2008-12-28 13:45:26下载
    积分:1
  • WINSOCK
    利用WINSOCK在几台计算机之间互相传输屏幕图象 (WINSOCK use in several computer screen image transmission between)
    2008-04-15 16:20:24下载
    积分:1
  • OPCServer
    说明:  如何开发OPC Server.OPC主要适用于过程控制和制造自动化等应用领域。(this paper teach us how to make OPC Server.The main useful to use OPC is contoel.)
    2011-03-18 16:09:11下载
    积分:1
  • huoqu
    获取本地计算机信息的小代码,比较简单,适合初学网络编程(a simple program of geting information from computer)
    2013-11-28 23:56:56下载
    积分:1
  • VB
    说明:  vb聊天室源码,一对一聊天。winsock控件实现的一款聊天软件。(VB Talking station.)
    2013-12-07 14:00:17下载
    积分:1
  • resiveDlg
    c++聊天软件客户端代码,可以实现和双方互相聊天,必须客户端后启动(c++ chat software client code)
    2013-08-11 19:10:03下载
    积分:1
  • VB-asm-Packge
    VB纯代码,内嵌汇编,对指定进程发送网络数据包。(VB pure code inline assembler, network packet sent to the specified process.)
    2013-03-31 13:57:41下载
    积分:1
  • client2
    客户端连接服务器的程序,以此测试客户端是否连接上。(client programming source)
    2013-09-02 16:17:04下载
    积分:1
  • 696516资源总数
  • 106637会员总数
  • 8今日下载