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

  • SCTP_Client_Server-master
    SCTP实验,实现客户端和服务器端传输数据(SCTP experiment, to achieve the client and server side data transfer)
    2013-12-24 16:44:40下载
    积分:1
  • Winpcap-demo
    一个简单的Winpcap抓包示例程序,能显示多网卡信息,能分别数据链路层和网络层的报文信息(A simple Winpcap packet capture sample program can display a multi-card information, respectively, the data link layer and network layer packet information)
    2012-04-17 10:41:20下载
    积分: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
  • socket--programme--base
    socket 编程基础 里面主要是介绍性文字和少量代码(socket programming which is mainly based introductory text and a small amount of code)
    2011-09-10 20:23:22下载
    积分:1
  • liaotianchengxu
    VC++编写的聊天程序。可在局域网内进行聊天。界面清晰(VC++ to prepare the chat program. Can be carried out in the local area network chat. Clear interface)
    2009-06-14 10:28:05下载
    积分:1
  • datenew
    说明:  是一个通过网络对软件进行自动更新的系统,可以使用这个程序为你的软件提供远程升级功能(Is a network of software auto-update system, you can use this procedure for you to provide remote software upgrade capability)
    2008-08-29 23:47:44下载
    积分:1
  • Getmacofremotemachine
    获取远程机器的MAc地址,运行环境VC++ (get MAC of remote machine)
    2009-05-10 17:27:13下载
    积分:1
  • atl控件使用socket通信
    说明:  关于Socket编程的实例,希望可以给大家提供一定的参考(Socket Programming for example, we hope to provide some reference)
    2006-02-22 11:49:24下载
    积分:1
  • GetIPConfig
    可以获取自己的ip地址,模仿cmd的ipconfig命令(Can get the ip address imitate cmd ipconfig command)
    2012-12-19 08:39:12下载
    积分:1
  • Hacking-Exposed
    一本优秀的国外黑客教程(中文版),介绍了很多主流的黑客手段和其所使用的工具,并且难度适中,新手和高手都适合看。(An excellent foreign hackers tutorial (Chinese version), introduces some mainstream hacking tools and means.)
    2015-05-04 20:50:09下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载