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

  • shortest-path
    通信网络的架设问题 若要在n(≥10)个城市之间建设通信网络,只需要架设n-1条线路即可(With the Dijksra algorithm to network G from source points to the rest of the vertices of the shortest path)
    2014-01-11 23:32:27下载
    积分:1
  • socket
    这是一个简单的socket编程例子,非常适合刚接触socket编程者。程序简单、可用、易于理解。是个很好的socket范例。(A simple socket programming examples. Suitable for beginners. Program is simple, available, easy to understand. Is a good example of socket programming.)
    2013-09-16 15:38:21下载
    积分:1
  • AutocomplectionCtrl_demo
    获取网络设置获取网络设置获取网络设置 获取网络设置(Access to the network settings to obtain network settings network settings to obtain access to network settings)
    2007-11-17 01:55:11下载
    积分:1
  • Socket
    说明:  socket的服务器和客户端,实现点对点聊天功能(socket server and client, to achieve point-to-point chat)
    2008-12-07 09:25:50下载
    积分:1
  • socket
    SOCKET通信,一个服务端,一个客户端的通信。(SOCKET communications, a server, a client communication.)
    2013-11-04 16:50:40下载
    积分:1
  • UDPServer
    UDP服务器程序,提供无连接不可靠的数据传输服务(UDP server program that provides connectionless unreliable data transmission service)
    2011-06-13 17:03:17下载
    积分:1
  • Socket_tongxing
    SOCKET通信方面的很实用的程序 很经典(SOCKET communications procedure is very practical classic)
    2007-08-07 16:39:11下载
    积分:1
  • 12084247tao2
    基于ICMP协议的ping程序设计实验基于ICMP协议的ping程序设计实验(Based on the ICMP protocol ping program designed experimental program designed experiments based on the ICMP protocol ping)
    2012-10-29 10:54:54下载
    积分:1
  • r3network
    在ring3下能开启、禁用网卡的示例程序。很好很强大。。。-_-#(Ring3 under the open, disable the network card of the sample programs. Very good very strong. . .-_-#)
    2008-05-19 18:08:32下载
    积分:1
  • FeiGeChuangShu
    这个是基于VC++的,飞鸽传书源码。支持SOCKET通讯,能在局域网内进行文件传输,文字通讯。(This is based on the VC++ of IP Messenger source. Support SOCKET communications, can transfer files in the LAN, text messaging.)
    2014-08-01 00:50:39下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载