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

  • webspider
    说明:  可以从网络上下载网页,采用多线程编程技术,下载速度更快,并可以记录下载网页数量(network can be downloaded from the website, using multithreaded programming techniques, faster download speeds and can be downloaded from the website record number)
    2005-09-11 09:10:50下载
    积分:1
  • acl-master
    acl_cpp 是基于 acl 库的 C++ 库,包括 MIIME 解析、Handlersocket 客户端库、数据库连接池(支持mysql/sqlite)、WEB 编程、数据库编程、阻塞/非阻塞数据流等内容。(acl_cpp is based acl library of C++ libraries, main elements: common features acl C library, MIIME parsing, Memcached client library, Handlersocket client library, connection pool (support mysql/sqlite), WEB programming, programming, blocking/non-blocking streams and other content.)
    2015-01-14 18:16:56下载
    积分:1
  • NIDS
    网络入侵检测系统,各模块完整,可以实现简单的网络入侵检测(Network intrusion detection system, each module is complete, you can achieve a simple network intrusion detection)
    2021-03-29 20:39:10下载
    积分:1
  • net
    网络编程代码,包含UDP,TCP和NET的源码,每种都保护服务器端和客户端(Network programming code, including UDP, TCP and NET source code, each protected server and client)
    2012-02-21 16:04:37下载
    积分:1
  • 文件异步下载序示例
    文件异步下载程序vb示例(document asynchronous sample download vb)
    2005-03-03 21:43:06下载
    积分:1
  • PsV1
    Kylloguer Program FTP - MU
    2013-12-14 01:51:59下载
    积分:1
  • SocketServer
    聊天室源码,支持多人聊天,服务器端(Chat room source code, support for multiplayer chat, chat room source code, support for multiplayer chat,)
    2011-10-11 11:22:09下载
    积分:1
  • socket
    在visualstudio6下实现socket客户端和服务器端(In visualstudio6 to achieve client and server-side socket)
    2010-06-01 18:46:56下载
    积分:1
  • lancs
    说明:  vc++实现的简单的cs架构程序,服务器端分登录和注册服务器,通信服务器,及客户端三部分程序。(vc++ server and client c/s lan chatroom)
    2010-04-20 07:35:37下载
    积分: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
  • 696516资源总数
  • 106914会员总数
  • 0今日下载