Location:
Search - carray
Search list
Description: 建立任意目录,使用CArray类-establish arbitrary directory, use category CArray
Platform: |
Size: 32768 |
Author: 董道道 |
Hits:
Description: 大量数据的管理是很多程序员的心病,很难找到一个速度快、效率高、支持超大规模数据的表,在1.0版本的基础上,启程花血本写下了这个强化了数据插入与删除的修正版,启程动态数组是一个功能强大的列表形数据管理链表,利用它可以轻松实现超大数据量的随机插入、删除、修改等操作,它另外一个特点就是速度极快,内存利用率高。
大量数据的管理必然需要占用大量的内存空间,如果这些数据占用的空间大小是随各种条件变化的,我们就不能使用数组来管理这些数据了(道理就不多说了),这时我们需要一个动态数组。MFC提供了一个很好的动态数组类CArray,对于少量数据,使用CArray就足够好用了,但是对于大量数据(10W级)它就力不从心了,因为它的本质就是一个数组,只不过对常用的插入、删除等操作进行了一个复杂的包装。为了解决这个问题,启程动态数组开创性地将链表与数组巧妙的结合起来,既有数组的高速随机索引的优点,又有链表的数据量灵活多变的特点。-large amounts of data management is a lot of anxiety of the programmers, it is difficult to find a fast, efficient, high- support for ultra-large-scale data in the table, in version 1.0, on the basis of this price depart wrote the enhanced data insertion and deletion of the revised version, left dynamic array is a powerful data management-List List, it can be easily large amount of data random insertion, deletion, modification, etc, it also features a fast, high memory utilization. The management of large amounts of data will need to use up a lot of memory space. If these data size of the space occupied by the following conditions are changing, we can not use the array to the management of these data (reason not to talk a lot), then we need a dynamic array. MFC provides a good dynamic arr
Platform: |
Size: 28672 |
Author: 黄建雄 |
Hits:
Description: 利用C++继承,重载,多态,和宏的结合,模拟了CARRAY模版-C inheritance, overloading, polymorphism, and Acer, the combination of the simulation template CARRAY
Platform: |
Size: 1024 |
Author: lk |
Hits:
Description: │ Array.cpp
│ Array.ds w
│ Array.h
│ Array.rc
│ ArrayDlg.cpp
│ ArrayDlg.h
│ ReadMe.txt
│ Resource.h
│ StdAfx.cpp
│ StdAfx.h
│
└─res
Array.ico
Array.rc2
MFC的数组类支持的数组类似于C++中的常规数组,可以存放任何数据类型。C++的常规数组在使用前必须将其定义成能够容纳所有可能需要的元素,而MFC数组类创建的对象可以根据需要动态地增大或减小,数组的起始下标是0,而上限可以是固定的,也可以随着元素的增加而增加,数组在内存中的地址仍然是连续分配的。
MFC定义了数组模板类CArray,并针对各种常用变量类型定义了CByteArray,CWordArray,CUIntArray,CDWordArray,CStringArray,CObArray,CPtrArray。
MFC数组类使用方法基本相同。--- Array.cpp Array.dsp---- Array .dsw . h-- Array.rc ArrayDlg.cpp---- Read ArrayDlg.h Me.txt-- Resource.h StdAfx.cpp---- supply-StdAfx.h res Array.ico Array.rc2 MFC array is an array type of support similar to the regular C Regulation array can store any data type. Conventional C prior to the use of the array must be defined as possible to accommodate all the needs of the elements, MFC array type and the object can be created based on the need to dynamically increase or decrease the threshold array index is 0, and the ceiling is fixed, as can the elements increases, the array of memory addresses are still continuous distribution. MFC defines a template array CArray category, and a variety of commonly used types of variables defined CByteArray, CWordArray. CUIntArray,
Platform: |
Size: 11264 |
Author: 青衣 |
Hits:
Description: 一个自己定义的数组外包装,这是“使用者自定义stl容器“的一个好例子,在数组之外包装了一层常用的容器界面。-own definition of an array overpack, which is a "user-defined stl containers" of a good example In addition to the array of packaging containers used layer interface.
Platform: |
Size: 6144 |
Author: 刘刚 |
Hits:
Description: When I used MFC s CArray in one of my projects, I found it s not very heap-friendly.-When I used MFC's CArray in one of my projects , I found it's not very heap-friendly.
Platform: |
Size: 4096 |
Author: jasonshen |
Hits:
Description: Visual C++(以下简称VC++) 是面向对象与可视化软件开发工具中比较成熟的一类。MFC是VC++中直接由Microsoft提供的类库,它集成了大量已定义好的类,我们可以根据需要,调用相应类,或根据需要自定义类。正是基于MFC的这种特性,我们试图设计出具有封装性、独立性的功能模块------函数数据生成模块,函数曲线输出模块,模块之间的桥梁是由模板类CArray派生的CPoint类数组充当的。函数数据生成模块用来实现对函数的设置并获得采样点,数组得到采样点数据并将其传递到输出模块中。从整体来看,实现了各程序模块的独立性,使得在函数模块中可任意添加、删除函数,可使用不同的DC和GDI,可实现不同的输出方式,整个工程在函数绘图功能上是无限扩展的。经过反复的调试和检验,我们实现了预期目标。我们的主要目的是尝试VC++在数学函数绘图方面的功能和应用。这是对VC++的探索,也是对数学函数绘图多样化的尝试。-err
Platform: |
Size: 145408 |
Author: 徐江 |
Hits:
Description: 一个简单的分级聚类算法,数据结构采用了VC++中提供的CArray类,可以任意添加样本,删除和修改样本,还可以将聚类结果保存起来,对学习聚类算法和VC++中文件操作及控件有一定的参考意义-A simple hierarchical clustering algorithm, data structure used VC++ Provided CArray class can add samples, delete and modify the sample clustering results can also be saved, and the clustering algorithm for learning VC++ document operation and control of some reference significance
Platform: |
Size: 162816 |
Author: 崔林艳 |
Hits:
Description: 本程序是读文本文档,利用CArray保存文档中的点,继而进行画线,读取文本文档并将其以十进制保存,最后画线.-This procedure is reading a text document, save the document using CArray of points, and then drawing a line, read the text document and save to the metric system, and finally drawing a line.
Platform: |
Size: 1963008 |
Author: 周游 |
Hits:
Description: 我们在使用vc进行比较复杂的编程时,经常需要用到复杂的数组结构,并希望能实现动态管理。由于C++并不支持动态数组,MFC提供了一个CArray类来实现动态数组的功能。有效的使用CArray类,可以提高程序的效率。
MFC提供了一套模板库,来实现一些比较常见的数据结构如Array,List,Map。CArray即为其中的一个,用来实现动态数组的功能。
CArray是从CObject派生,有两个模板参数,第一个参数就是CArray类数组元素的变量类型,后一个是函数调用时的参数类型。
我们有一个类 class Object,我们要定义一个Object的动态数组,那么我们可以用以下两种方法
Platform: |
Size: 8192 |
Author: li sheng |
Hits:
Description: 支持动态增长的数组类,源码包提供了完整的实现源码。对于模板类数组容器感兴趣的朋友是个不错的参考。-Support the dynamic growth of an array type, source packages to provide a complete source realize. Array container for template class a friend is interested in a good reference.
Platform: |
Size: 1603584 |
Author: david |
Hits:
Description: C++的数组类管理类定义
被本人持续使用并完善超过20年
支持动态数组,和2维数组
类似于VC++中的CArray,且许多内部方法都与CArray的内部方法相同,但效率和方便性比CArray要好许多。特别重要的是:它们可以跨平台地工作于任何C++开发环境。-A c++ array management type definition series. They work like CArray class in VC++.But they work more efficient and more convenient than CArray .Most importantly,they work cross-platform,they can work under any C++ development platform.
Platform: |
Size: 5120 |
Author: zeng rongjia |
Hits:
Description: 背景选择中有六幅风格不同的图片以供选择,另有乐曲可于配合游戏进行。
可以选择新手提示,它会提示你当前所选的棋子所能走到的节点,方便新手使用。
用vc++ 6.0 实现,对信息的保存用到了CList,CArray及自定义的CSaveSteps等用到类,在界面实现上用到
了CListBox等控件,为了实现棋谱输出,用GetStepName这个函数进行了语法分析。文件存取用到了CFile类。-Choice in the context of six different picture styles to choose from, and another piece can be carried out with the game. Novice tips can choose, it will prompt you pieces of the currently selected node can be reached to facilitate the new use. Vc++ 6.0 with the realization of the preservation of information used in the CList, CArray and CSaveSteps such as a custom type used in the interface such as the use of CListBox control chess in order to achieve the output, using this function GetStepName parsing. Access to use the CFile file type.
Platform: |
Size: 1527808 |
Author: chenyu |
Hits:
Description: 这个是一个学生管理系统,可以查阅学生的信息,用vc开发的。-This is a system of student management ,using visual C++
Platform: |
Size: 17408 |
Author: Jack |
Hits:
Description: VC动态数组,asfesatfrwegtre-VC CARRAY,sgftresagtege
Platform: |
Size: 8192 |
Author: 王显 |
Hits:
Description: CArray类的应用 CArray类的应用 CArray类的应用 -CArrayClassApplicationCArrayClassApplicationCArrayClassApplicationCArrayClassApplication
Platform: |
Size: 13312 |
Author: wdmaster2003 |
Hits:
Description: MFC数组类CArray的使用的操作详解
MFC的数组类支持的数组类似于常规数组,可以存放任何数据类型。常规数组在使用前必须将其定义成能够容纳所有可能需要的元素,即先确定大小,而MFC数组类创建的对象可以根据需要动态地增大或减小,数组的起始下标是0,而上限可
MFC的数组类支持的数组类似于常规数组,可以存放任何数据类型。-MFC array class CArray operations Xiangjie use MFC class to support an array of arrays is similar to conventional arrays, you can store any data type. Regular array in the definition used before Jiang were able to accommodate all possible needs of the Yuan Su, that is, first determine the Da Xiao, Er MFC array Lei Chuangjian the object can Genju need Dongtai to increase or decrease the initial array under Biao yes 0, The ceiling can be an array of class to support MFC array similar to the conventional array, you can store any data type.
Platform: |
Size: 3072 |
Author: john |
Hits:
Description: CArray控件的使用和重绘,这个对于初学者来说是很好的学习资料,对于学习控件编程的人来说是很好的资料-It is Very usefully for learning user,if you want to learning coding ,please download this code
Platform: |
Size: 210944 |
Author: 刘小华 |
Hits:
Description: Visual C++案例开发集锦\第三章\CArray类的应用的程序源码,值得一看!-Visual C++ case development highlights \ Chapter \ CArray class of applications program source code, worth a visit!
Platform: |
Size: 11264 |
Author: |
Hits: