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

指针数组的特征及其应用
引用本文:李荷华,霍有亮.指针数组的特征及其应用[J].陕西师范大学学报,1996,24(2):27-30.
作者姓名:李荷华  霍有亮
作者单位:陕西师范大学计算机科学系
摘    要:描述了C语言指针数组的特征以及用指针数组编制实用高效程序的方法.在软件开发中,常需要开辟数百KB的内存缓冲区,而在C语言中设置这样大的内存缓冲区会出现数据跨段的问题,采用指针数组的使用机制能解决以上难题.利用指针数组法建立稀疏数组,可使内存使用率增高且能方便地实现读写操作

关 键 词:C语言  指针  指针数组  命令行参数  内存缓冲区  稀疏数组

Charateristics and application of the pointers array
Li Baohua,Huo Yuoliang.Charateristics and application of the pointers array[J].Journal of Shaanxi Normal University: Nat Sci Ed,1996,24(2):27-30.
Authors:Li Baohua  Huo Yuoliang
Abstract:The essay intensively states the charateristic of the pointers array and its programming application in an effient way. In the development of soft ware, it is always necessary to design a memory buffer with hundreds of KB, which will probably lead to the problem of data span limit in the dvice of C language. The application of the pointers array, however, can solve the above mentioned problem. By means of the pointers array, a sparse array is set up so as to increase the using rate of storage and conveniently realise the operation of access.
Keywords:C  language  pointer  pointers array  command  line parameter  memory buffer  sparse array
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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