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

  • WinSock_VB
    说明:  VB环境下WinSock开发网络应用程序,取自电脑报,内附说明文档,讲解清楚(WinSock Development Environment VB web applications, from computer reports, included documentation, explain clearly)
    2010-04-19 21:05:43下载
    积分:1
  • TCP-UDP
    TCP与UDP源代码测试程序,方便初学者观看,理解。用VC写的,容易读懂。。(TCP and UDP code for ABC to use)
    2012-06-17 11:38:04下载
    积分:1
  • testdlg
    检测NAT类型的客户端,程序中指定了服务器IP地址,用户可以自行修改(Detect NAT type of the client, the program specifies the server IP address, the user can modify)
    2013-08-22 10:16:36下载
    积分:1
  • recv
    组播接收端,socket通信,Windows网络编程(Multicast receiver, socket communications, Windows network programming)
    2021-01-13 21:48:47下载
    积分:1
  • les-4-3-tools
    CyberBot botnet tool for hacking
    2013-10-04 02:41:58下载
    积分:1
  • socketServer
    实习UDP网络通信,通过windows下UDP(come true UDP socket communition.)
    2017-02-09 09:25:32下载
    积分:1
  • TestSMailer
    一个支持pop3的简单的邮件收发程序(a simple mail procedures)
    2004-12-22 10:01:07下载
    积分:1
  • the4th
    利用socket实现简单文件传输,mfc实现,很简单(Simple file transfer using socket, mfc achieve)
    2013-10-20 15:37:24下载
    积分:1
  • CalRemainder
    可以根据输入的生成多项式计算CRC16的余式表,并输出到TXT文件中打开。附赠CRC16的查表程序和直接计算程序,供验证用。使用这段程序,可以完美解决CRC16的编程问题,CRC32以及CRC8也可以参考使用。(CRC16 remainder table according to the generator polynomial of the input and output to a TXT file to open. Comes with a CRC16 table look-up procedure and a direct calculation program, for verification purposes. This program can be the perfect solution the CRC16 programming problem, the CRC32 and CRC8 also be of use.)
    2012-02-18 12:56:17下载
    积分:1
  • PacketCapture
    基于Winpcap的网络数据包抓取.开发环境VS2013(network packet capture based on Winpcap . Development environment: VS2013)
    2014-06-29 14:22:31下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载