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

  • Emulator
    驱动层抓取网卡数据代码,并可以修改数据包内容(Crawl layer data-driven card code, and can modify the contents of data packets)
    2009-04-01 00:06:26下载
    积分:1
  • SEVER
    多人在线的网络聊天室—服务器,简化实用 可以修改后添加其他功能(Multiplayer online chat rooms- server, simplifying practical Other functions can be modified to add)
    2013-10-05 19:42:35下载
    积分:1
  • chart
    说明:  点对点的聊天工具,公司不让QQ,SKYPE,就动手写了个超小巧的聊天工具(Peer-to-peer chat tool company from QQ, SKYPE, on hand to write a super-compact chat tools)
    2008-10-06 21:39:06下载
    积分:1
  • SIO_GET_BROADCAST_ADDRESS
    Get Broacdcast address in C
    2007-08-02 10:00:14下载
    积分:1
  • Phrack-Magazine
    phrack有什么nb的地方:有人问我成为nb黑客(不是骇客)的捷径是什么?我发现这里面可以细分为:1.谁是nb的黑客? 我的答案是phrack杂志上每个领域发表开拓性文章的人; 2.如何成为nb的黑客? 我的答案是把phrack杂志大部分文章用几年时间全部真正弄懂 --不看文章,不查资料能把例子实现一遍,还能改--xscan作者(What place phrack nb: nb what I was asked to become a hacker (not a hacker) is a shortcut? I found that there can be subdivided into: (1) Who is nb hackers? My answer is to explore every area of ​ ​ published journal articles on phrack people 2 nb how to become a hacker? My answer is that most of the phrack magazine article a few years time all truly understand- do not look at the article, the example does not check the information can achieve it again, but also to change- xscan author)
    2014-01-13 18:06:16下载
    积分:1
  • 3-2
    获取计算机IP地址。可以试试看。源码用C++实现(C++)
    2009-12-19 10:09:17下载
    积分:1
  • FreeFileSync_v4.2_source
     FreeFileSync是一个易于使用的开放源码文件夹同步和比较软件,简单易用。 FreeFileSync[1] 首先是文件同步功能,可以在指定的两个文件夹之间进行单向或双向的同步,点击程序窗口右上方的绿色齿轮图标可以设置相关参数;期间也可以自定义需要筛选的文件,有“包括”和“例外”两种过滤方式,定义需要过滤的文件类型,这就看个人需要了。(FreeFileSync is an easy to use open source software folder synchronization and comparison, easy to use. FreeFileSync [1] The first is file synchronization, you can specify the folder between the two one-way or two-way synchronization, click the program icon in the window at the top right of the green gear can set parameters period can also be customized to sift through the file, the " include" and " exceptional" two filtering methods, definitions need to filter the file types, which depends on personal needs.)
    2020-09-09 10:58:02下载
    积分:1
  • VCNetworkhigh-levelprogramming
    本书主要面向具有一定VC网络编程基础并希望学习较高层次编程技术的读者(The book has some major VC-oriented network programming base and hopes to learn higher-level programming technology readers)
    2008-12-25 09:30:49下载
    积分:1
  • liaotianshi
    winsock聊天室(winsock Chat Room)
    2005-01-11 10:36:36下载
    积分:1
  • Server
    一个类似飞鸽传书的小程序 其中的SERVER端 一会上传Client(studay ..)
    2012-06-05 11:47:56下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载