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

  • RipEmurator
    说明:  Rip协议实现 仿真器, 技术上包括Qt TableView,UDPSocket。(Emulator Rip protocol implementation, technically, including Qt TableView, UDPSocket.)
    2021-04-20 21:18:50下载
    积分:1
  • WSAAsyncSelect
    说明:  基于 异步选择模型的聊天程序,简单实现服务器和客户端的对话(Select model based on asynchronous chat program, simple implementation of server and client dialogue)
    2010-04-24 19:35:55下载
    积分:1
  • UdpClient
    用Visual C++编写的UDP客户端程序。(Using Visual C++ Prepared UDP client program.)
    2007-07-17 10:16:03下载
    积分:1
  • client_udp
    网络通讯:UDP客户端的工程源代码,已经测试通过(Network Communication: UDP client' s project source code, has been tested)
    2010-10-14 12:32:21下载
    积分:1
  • chat2
    视频通信 c#编程 可以正确运行 能够在局域网里进行视屏聊天(Video communications c# programming can be run properly in LAN chat screen)
    2012-06-12 11:24:27下载
    积分:1
  • MONG
    说明:  mongoose v6.15,多线程http——server,线程数可设。从GitHub下载C语言原代码,在vc6里面编译成c++工程(multi-threads http_server, based on source code from Github. The project is conducted in VC6, converted from c language. The threads num can be edited in code.)
    2020-06-18 04:40:02下载
    积分:1
  • MultiPing
    ICMP扫描器的设计源码。能实现ping功能,扫描IP地址可以手动输入。方便初学者学习。。(ICMP scanner design source. Ping function, scanning the IP address can be entered manually.)
    2012-11-08 14:23:46下载
    积分:1
  • Joker-Hacks-Dayz-Sa
    Another Dayz SA hack with script r
    2016-02-05 14:06:38下载
    积分:1
  • ad_wall
    广告墙纸.本程序包含一个发布端(把端纸发布到sql server中),客户端会自动读取墙纸,并设置为本机墙纸,还可设置图标排列方式. 目前做为机房的文告发布使用.(Advertising wallpaper. This program includes a release end (the end of the paper posted to the sql server), the client will automatically read the wallpaper, and set native wallpaper, icons arrangement can be set now to use as a room of the statement released .)
    2011-11-12 09:18:41下载
    积分:1
  • Chat_demo
    服务器,客户端聊天小程序,可能功能有点简单,但是原理都在(The server, the client chat applet)
    2013-09-03 11:12:31下载
    积分:1
  • 696518资源总数
  • 105065会员总数
  • 14今日下载