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

  • iperf_win
    Iperf windows版,新手学习用,相当不错.(Iperf windows version, novices to learn, is quite good.)
    2013-04-15 15:31:26下载
    积分:1
  • udp
    实现可靠的UDP封装传输类,可以进行多点传输,采用超时重发机制(Reliable transmission of UDP encapsulation type, can be multi-point transmission, the use of timeout retransmission mechanism)
    2011-10-15 23:04:12下载
    积分:1
  • 1
    说明:  WinSock网络编程实用宝典。适合初学者以及深入理解网络编程的朋友。(WinSock network programming practical Collection. Suitable for beginners as well as in-depth understanding of network programming friends.)
    2011-07-04 17:38:27下载
    积分:1
  • Client-dotnet
    一个用于客户端和服务器端的客户端的简单程序,C#(one for the client and the server-client simple procedure, C#)
    2013-09-03 12:09:29下载
    积分:1
  • Server
    一个基于MFC的网络通信SOCKET程序,实现了接收SOCKET数据的同时,发送SOCKET数据。(An MFC-based network communication SOCKET procedure to achieve the same time to receive SOCKET data, send SOCKET data.)
    2010-08-30 14:14:46下载
    积分:1
  • CollectClient
    socket编程,实现一个客户端,一个服务器,是学习socket编程的好代码(socket programming, a client, a server, is a good source to learn socket programming)
    2010-07-15 12:14:14下载
    积分:1
  • STR
    structures for rf online 2/2/3 server
    2010-06-05 13:52:20下载
    积分:1
  • ask_answer
    该程序模拟知乎,作为网上问答系统,用户能注册,登录,提问,回答,点赞,关注,取关,查找问题,等一系列操作,一个服务器端可以同时连接多个客户端,能够同步各个客户端操作结果。程序分为客户端和服务器端,用户gui采用mfc编写,通信方式为socket方式,开发环境为win7 vs2015,编译器v140.(The program simulates know almost as online quiz system, users can register, login, questions, answers, thumbs up, focus on, take off, find the problem, and a series of operations, a server can be connected to multiple clients simultaneously, it is possible to synchronize each client operating results. Program is divided into client and server side, the user using mfc gui written communication for the socket, the development environment for win7 vs2015, compiler v140.)
    2016-05-17 11:56:13下载
    积分:1
  • Onvifshengzhe8688
    Onvif实例源码 VC6.0 C++开发 便于学习 Onvif开发入门 Onvif协议开发训练(Onvif instance source VC6.0 introduction to c++ development to facilitate learning Onvif Onvif protocol development training)
    2013-07-31 16:25:35下载
    积分:1
  • PsSuspendThread
    内核中暂停任意线程代码,qq Protect相关(Kernel suspend any thread)
    2013-07-29 14:46:02下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载