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

  • WINDOWSNetWork
    说明:  windows网络编程艺术,适合网络开发程序员看(windows network programming art, web development programmers look for)
    2010-04-09 10:49:19下载
    积分:1
  • 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
  • scara
    4轴scara机器人的正逆解代码,仅供参考!(Positive and inverse solution code of 4 axis SCARA robot.For reference only!)
    2018-01-13 10:08:43下载
    积分:1
  • 756245245
    VB校园即时通聊天软件源代码,有需要的就下载吧。(VB Campus Messenger chat software source code, there is a need to download it.)
    2013-08-04 15:29:41下载
    积分:1
  • Getmacofremotemachine
    获取远程机器的MAc地址,运行环境VC++ (get MAC of remote machine)
    2009-05-10 17:27:13下载
    积分:1
  • video_trans
    基于udp协议和openCV编程实现的视频传输程序,具有自动获取本地IP地址功能,客户端输入服务器端IP,点击发送,服务器端可实现实时的接收和播放,在可靠的局域网环境下,多次测试传输可靠,除此以外具有原理简单,可扩展的优点。(Udp protocol and openCV programming-based video transmission program has automatic access to the functions of the local IP address, server-side IP client input and click send, the server side can receive and play real-time, reliable LAN environment, several testsreliable transmission, in addition to a simple principle, scalable advantages.)
    2021-03-30 17:39:10下载
    积分:1
  • tcp_winsock_controler
    这是VB6.0上MSDN的例子,不过我做了稍微改动,能实现输入任意的IP地址,实现与其通信的目的(This is a VB6.0 example on MSDN, but I make a slight alteration can realize arbitrary input IP address, the realization of the purpose of communication)
    2008-03-30 18:04:56下载
    积分:1
  • 00163597urg-0.8.18
    雷达数据采集,日本urg-0.8包,采集2D数据,将雷达测出的长度信号转换成图形数据显示,库包里有C库以及c++库。((Radar data acquisition, Japan urg 0.8 package, 2 d data, the radar to measure the length of the signal into graphic data shows that there are C library and the library of C++ library package.))
    2018-03-12 15:52:58下载
    积分:1
  • WEHRGMO553
    一个用C写的内存管理系统,模拟操作系统内存,很好不错的(A memory management system written in C, analog operating system memory, very good)
    2018-09-30 04:35:54下载
    积分:1
  • senda-recv-file
    socket 客户端和服务端发送和接收文件的源代码(the source code of socket in order to send and receive file)
    2015-05-12 10:37:50下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载