检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[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[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:3.145.68.176