在C语言中利用动态结构数组处理学生成绩表  被引量:1

Using Dynamic Structure Array to Deal with Student Achievements in C Programming Language

在线阅读下载全文

作  者:杨雪松[1] 高琴[1] 

机构地区:[1]云南昭通师范高等专科学校计算机科学系,云南昭通657000

出  处:《软件导刊》2012年第8期45-47,共3页Software Guide

摘  要:基于C语言中只能定义定长数组,容易造成大量内存资源浪费,影响实际使用的情况。对C语言中的变长数组的定义和使用进行了探索和分析,在此基础上提出了用指针来处理预先不能确定数组大小的可行性,进一步提出了建立动态结构数组来解决学生成绩统计的方法,通过实际编程,解决了这一问题。In C programming language, immutable array can only be defined, which will easily cause large memory resources, and affect actual use. After analyzing the definition and usage of variable-length array, clear-out the feasibility of using pointer to deal with the undetermined array size in advance, and put forward the way of constructing dynamic struc- ture array to solve students" Achievements statistics. The problem is solved through the actual programming.

关 键 词:动态数组 结构数组 成绩统计 指针 

分 类 号:TP312[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象