(/***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 279
下载积分: 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 个回复

  • update-online
    一套完整的在线升级程序,只需修改配置文件即可成为自己的升级程序。(A complete set of online upgrade program, simply modify the configuration file to become their own upgrade process.)
    2013-09-18 09:28:45下载
    积分:1
  • WL_IPpack02
    获得IP地址和MAC地址的对应关系网络课实验。 根据IP地址发送和接受ARP包获得对应MAC地址。(Access to correspondence between the experimental class network IP address and MAC address. Send and receive ARP packets to obtain the corresponding MAC addresses based on IP addresses.)
    2014-05-21 08:56:22下载
    积分:1
  • TCP-UDP
    TCP与UDP源代码测试程序,方便初学者观看,理解。用VC写的,容易读懂。。(TCP and UDP code for ABC to use)
    2012-06-17 11:38:04下载
    积分:1
  • SCI新
    串口通讯,能显示串口数据发送,接受,内带详细代码(Serial communication, serial data can be displayed to send, accept, with detailed code)
    2018-06-06 16:37:22下载
    积分:1
  • mscomm
    一款传输软件的开发源码,里面包含线程控制以及端口控制功能(mscomm software)
    2012-03-06 23:35:14下载
    积分:1
  • ChatCSocket
    简单聊天软件,简单易学 winscok2.0 (Simple chat software, easy to learn winscok2.0)
    2008-08-16 08:54:45下载
    积分:1
  • corum2
    科隆2服务端源码.....请大家下载修改,BUG多(Cologne 2 server ..... please everyone download the source code modifications, BUG more)
    2008-05-14 18:28:12下载
    积分:1
  • speed-port-scanner
    快速端口扫描器代码 整个完整工程 初学者可以参考一下 谢谢(Fast port scanner code for the complete project beginners can refer to thank you)
    2011-06-29 16:09:10下载
    积分:1
  • 756245245
    VB校园即时通聊天软件源代码,有需要的就下载吧。(VB Campus Messenger chat software source code, there is a need to download it.)
    2013-08-04 15:29:41下载
    积分:1
  • jisuan
    进行电力网络的潮流计算 可以此进行无功优化等问题(electrical calculation)
    2020-12-01 22:29:27下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载