登录
首页 » 文件处理 » │ Array.cpp │ Array.ds w │ Array.h │ Array.rc │ ArrayDlg.cpp │ ArrayDl...

│ Array.cpp │ Array.ds w │ Array.h │ Array.rc │ ArrayDlg.cpp │ ArrayDl...

于 2022-03-07 发布 文件大小:11.33 kB
0 45
下载积分: 2 下载次数: 1

代码说明:

│ 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 i

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 696522资源总数
  • 104042会员总数
  • 18今日下载