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

  • TCPTest
    简单TCP双向通讯例子,实现客户端服务器端的双向通讯。(Simple the TCP bidirectional communication example, to achieve the client server-side two-way communication.)
    2012-11-08 13:37:54下载
    积分:1
  • Translate.Files.With.Winsock
    这是一个简单地使用WinSock传输文件的工具,分为服务端和客户端,先抛一块砖。(This is a simple way to transfer files using the WinSock tool is divided into server and client, first throw a brick.)
    2009-03-26 11:02:46下载
    积分:1
  • TCPIP
    modbus 测试,用VB的winsock控件实现的modbus tcpip通讯等(modbus test, with VB the winsock control to achieve the modbus tcpip communications)
    2021-04-06 17:59:02下载
    积分: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
  • PtoP-CHAT
    点对点聊天工具,完整的工程,学习网络编程的可以参考(POINT TO POINT CHAT)
    2013-05-05 00:40:52下载
    积分:1
  • WSAAsyncSelect
    说明:  基于 异步选择模型的聊天程序,简单实现服务器和客户端的对话(Select model based on asynchronous chat program, simple implementation of server and client dialogue)
    2010-04-24 19:35:55下载
    积分:1
  • Host_ip
    通过一个域名,可以得到这个域名的IP地址列表。(Through a domain name, domain names can be the IP address list.)
    2009-07-21 15:40:53下载
    积分:1
  • treebrowser
    一个与MyIE功能相同的多窗口浏览器,相当实用,包含全部源代码,强烈推荐( With the MyIE function same multi- windows browser, is quite practical, contains the complete source code, intense recommendation! )
    2004-07-09 15:12:06下载
    积分:1
  • GetMACAddress
    应用程序向导使用“TODO:” 来指示 应添加或自定义的源代码部分。 如果应用程序在共享 DLL 中使用 MFC,且应用程序使用的语言不是 操作系统的当前语言,则需要从 Microsoft Visual C++ 光盘上 WinSystem 目录下将相应的本地化资源 MFC70XXX.DLL 复制到计算机的 system 或 system32 目录下, 并将其重命名为 MFCLOC.DLL。 (“XXX”代表 语言缩写。 例如,MFC70DEU.DLL 包含翻译成 德语的资源。) 如果不这样做,应用程序的某些 UI 元素 将保留为操作系统的语言。">
    2008-03-20 00:39:18下载
    积分:1
  • Demo-FileTransfer
    一个简单的ftp传送文件的协议!?桓黾虻サ膄tp传送文件的协议!(A simple file transfer protocol ftp!? Hwan Microvelia Tabanidaeサ膄tp agreement to send the document!)
    2008-05-16 14:15:21下载
    积分:1
  • 696518资源总数
  • 105958会员总数
  • 18今日下载