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

  • LanTalk_sources
    Currently, most of people use MS DCOM/COM+, Java Bean/RMI, and Corba to do distributed computing over internet. All of these technologies are provided with some tools and intermediate objects to simplify internet development. However, these technologies have one common and fundamental problem that all of the calls between a client and a server are blocked for a returned result (please correct me if this is wrong). A client stays still, and has to wait for a while after sending a request to a server. If the request is a lengthy action, the client application seems to be dead to a user. In most cases, we could use a worker thread at the client side to do background computation for solving this problem. However, this comes with an expensive price, more coding, data synchronization and mess in coding logic. Additionally, I also doubt that these technologies are able to really move data across internet efficiently.
    2009-06-27 15:00:43下载
    积分:1
  • CS
    说明:  客户机/服务器模式(Client/Server model)。该模式的建立基于以下两点:1、网络上主机的非对等作用;2、通信完全是异步的。()
    2008-07-06 10:36:51下载
    积分:1
  • tcpserver
    一个能够接受TCP/IP连接的服务器源代码(One can accept TCP/IP connection the server source code)
    2011-04-26 10:52:28下载
    积分:1
  • 44810407
    Desktop drawing program, for beginners to understand the vc code is a good example, performance fun and easy to learn
    2018-12-31 11:33:10下载
    积分:1
  • IOCPModel
    这是一本关于IOCP模型原理及其功能介绍的文章。对于做大型服务器很有帮助(This is a book about IOCP model and the function introduction article. For large server help )
    2012-09-22 13:15:34下载
    积分:1
  • xuaualgveterminegdraw
    这是用VC++环境做成的一个图形编程的练习,是一个旋转的风车,()
    2018-02-20 11:51:23下载
    积分:1
  • MyPing
    ping工具,基于控制台应用程序,类似cmd的ping功能(ping tools, console-based application)
    2012-12-19 08:37:46下载
    积分:1
  • chat
    网络聊天室,实现类似QQ的功能,通过链表对客户管理(sockeg programming)
    2011-01-24 01:46:22下载
    积分:1
  • LoginQQ
    VC++自动登陆QQ的代码,VS2010的编译环境(The automatic landing VC++ QQ code, VS2010 the compiler environment)
    2013-04-26 17:14:24下载
    积分:1
  • SendMail199985242001
    用vc实现邮件传输功能,主要采用winsock实现传输过程。有利于熟悉网络编程。(achieved using vc mail functionality, mainly winsock achieve transfer process. Help familiar with network programming.)
    2005-07-27 19:47:56下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载