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

  • 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
  • MY_QQ
    聊天界面,简易的聊天界面懂得更多,了解更多,沟通更多(Chat interface, a simple chat interface know more, learn more, communicate more)
    2013-07-17 22:34:50下载
    积分:1
  • ask_answer
    该程序模拟知乎,作为网上问答系统,用户能注册,登录,提问,回答,点赞,关注,取关,查找问题,等一系列操作,一个服务器端可以同时连接多个客户端,能够同步各个客户端操作结果。程序分为客户端和服务器端,用户gui采用mfc编写,通信方式为socket方式,开发环境为win7 vs2015,编译器v140.(The program simulates know almost as online quiz system, users can register, login, questions, answers, thumbs up, focus on, take off, find the problem, and a series of operations, a server can be connected to multiple clients simultaneously, it is possible to synchronize each client operating results. Program is divided into client and server side, the user using mfc gui written communication for the socket, the development environment for win7 vs2015, compiler v140.)
    2016-05-17 11:56:13下载
    积分:1
  • 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
  • UDPServer
    UDP服务器程序,提供无连接不可靠的数据传输服务(UDP server program that provides connectionless unreliable data transmission service)
    2011-06-13 17:03:17下载
    积分:1
  • rac
    实现网络抓包功能的基本原理与抓包实现方法,是个不错的提示(for sniffer)
    2010-09-25 09:53:48下载
    积分: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
  • coyote_0.3.0.2_sms_0.8.0.1
    it iz a free sms creator, you can send free sms
    2010-03-04 02:21:58下载
    积分:1
  • hackqqqwq
    黑客强大源码,黑客强大源码,黑客强大源码,黑客强大源码,黑客强大源码,黑客强大源码(Hackers powerful source code, hacking powerful source code, hacking powerful source code, hacking powerful source code, hacking powerful source code, hacking powerful source)
    2014-02-05 17:43:58下载
    积分:1
  • cli
    windows 套接口 编程 udp(windows udp socket programming)
    2013-05-28 12:23:43下载
    积分:1
  • 696518资源总数
  • 106215会员总数
  • 5今日下载