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

  • samp03z_svr_R1_win32
    GTA的脚本大全,能让你的服务器变得更加好玩,使你的服务器的玩家数量更多(More GTA script Guinness, make your server more fun to make your server' s number of players)
    2020-07-02 23:00:01下载
    积分:1
  • Sniffer_code
    用vc实现的sniffer,没有使用winsock与winpcap。十分具有学习价值!(Vc realize with the sniffer, did not use winsock with winpcap. Very much with learning the value of!)
    2008-04-01 17:48:52下载
    积分:1
  • Traffic
    对网络的流量进行监测,会很好的对网络端口的流量进行监测,绝对可以完整运行(Traffic on the network to be monitored, will be well on network port flow monitoring, absolute integrity can be run)
    2012-04-27 20:15:36下载
    积分:1
  • vcFtp
    学习网络编程的初学者必看的.(Learning Network Programming Watchable the beginners.)
    2004-12-06 14:00:15下载
    积分:1
  • TCP-PortMap
    实现 tcp的端口映射 不同于udp的实现方法(Realization of TCP port mapping from UDP realization method)
    2012-04-23 17:32:07下载
    积分:1
  • MachRemote
    MACH3软件二次开发的一个实例程序,希望对喜欢MACH3二次开发的朋友有帮助。(MACH3 software secondary development of an example program, we want to enjoy MACH3 secondary development to help a friend.)
    2021-01-15 15:28:46下载
    积分:1
  • IPIP
    获取局域网中计算机名和IP地址,运行程序后点击确定,等待界面消失,会生成一个Name_Iph.ini文件,记录了所有信息!(Access to the LAN computer name and IP address)
    2011-07-26 11:26:59下载
    积分:1
  • w3c
    c客户端与互联网服务器通讯类文件,支持多文件上载,提交form等等,同时提供异步方式.(c client server and Internet communications papers to support more file uploading, etc. to form, It also provides asynchronous mode.)
    2006-10-10 17:07:58下载
    积分:1
  • GetNetSetting2
    Visual C++ 6.0.此代码可以进行显示网络设置,包括IP地址等。(Visual C 6.0. This code can show network configuration, including the IP address.)
    2005-04-20 22:39:50下载
    积分:1
  • cPP-Guinness-classic-code
    c++经典代码大全,适合初学者下载参考使用。(c++ Guinness classic code, suitable for beginners reference.)
    2014-01-13 11:17:12下载
    积分:1
  • 696518资源总数
  • 104852会员总数
  • 8今日下载