首页 | 本学科首页   官方微博 | 高级检索  
     检索      

Visual C++中动态数组的使用
引用本文:刘宝祥.Visual C++中动态数组的使用[J].松辽学刊,2003,24(4):121-122.
作者姓名:刘宝祥
作者单位:吉林师范大学科研处,四平136000
摘    要:数组是最常见最常用的数据结构,在工程大量数据处理中经常使用数组。常用数组是因为它们非常容易使用,使用效率也很高,可以在短时间内遍历数组中的任何一个元素,这使得它们在搜索和排序时非常有用.但是以往使用标准C的数组时他们的大小固定,边界也未加保护,所以会导致内存空间的浪费和一些难以发现的错误,而MFC数组非常容易使用,也很灵活、完备.完全解决了标准C数组的问题。

关 键 词:VisualC++  动态数组  数组类  MFC数组
文章编号:1000-1840-(2003)04-0121-02
修稿时间:2003年4月14日

The Usage of Dynamic Array in Visual C++
LIU Bao-xiang.The Usage of Dynamic Array in Visual C++[J].Songliao Journal (Natural Science Edition),2003,24(4):121-122.
Authors:LIU Bao-xiang
Abstract:An array is the most common data structure., It is usually used in a process with a great deal of data. An array is widely used because its usage is easy and efficient However, when we use an array in standard c, the size is fixed and the boundary is not protected. This results in a waste of memory and errors which can not be found easily. An array in MFC is flexible, perfect and easy to use. It can resolve the problems in standard c perfectly.
Keywords:Dynamic array  MFC  array class
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号