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

  • TCPaUDP
    一段TCP和UDP通讯的程序,包含了服务器端和客户端的代码。(Some TCP and UDP communication procedures, including server and client code.)
    2014-07-21 08:28:29下载
    积分:1
  • DBN_RBM1.1
    深度信网络测试代码,可以帮助初学者很好地了解深度学习。(Depth communications network test code that can help beginners a good understanding of the depth of learning.)
    2014-10-31 09:37:18下载
    积分:1
  • hacker
    学习网络安全的一本书籍。《黑客入侵(超级详细版)》(A learning network security books. " Hacking (super-detailed version)" )
    2014-01-10 23:46:45下载
    积分:1
  • scara
    4轴scara机器人的正逆解代码,仅供参考!(Positive and inverse solution code of 4 axis SCARA robot.For reference only!)
    2018-01-13 10:08:43下载
    积分:1
  • fzitnbl185
    用BitBlt()函数实现界面切换的程序设计方法,其中包括:新建项目,用函数实现文件的打开操作以及相关的程序设计,(The program design method of interface switching is realized by BitBlt () function, which includes: new project, file opening operation with function, and related program design.)
    2018-12-01 16:10:18下载
    积分:1
  • NetTraffic
    VC++流量监控程序,记录选择的接口号,得到接口号为interfaceNumber的接口流量。采用PDH技术对网卡的数据包进行测量,类似360的流量监控工具一样,可以实时观察上网流量的变化,包括上传流量与下载流量。(VC++ traffic monitor, record selection interface number to obtain the interface number of the interface traffic interfaceNumber. Using PDH technology for measuring card packet, similar 360 traffic monitoring tools, real-time observation of changes in Internet traffic, including download and upload traffic flow.)
    2016-09-08 01:39:22下载
    积分:1
  • IP
    说明:  视频会议模块用于传输图像信息及其他文件,采用vfw编程,便于理解,是很好的学习源码(Video conferencing module for the transmission of image information and other documents, using vfw program, easy to understand, is a good learning source)
    2010-04-01 15:35:30下载
    积分:1
  • CollectClient
    socket编程,实现一个客户端,一个服务器,是学习socket编程的好代码(socket programming, a client, a server, is a good source to learn socket programming)
    2010-07-15 12:14:14下载
    积分:1
  • liaotianshi
    winsock聊天室(winsock Chat Room)
    2005-01-11 10:36:36下载
    积分:1
  • client
    局域网监控系统客户端程序,可以与服务器端的程序一起形成一个局域网监控系统。(juyuwang jiankong kehuduan)
    2010-12-24 16:39:18下载
    积分:1
  • 696518资源总数
  • 105267会员总数
  • 12今日下载