文件名称:ah
介绍说明--下载内容来自于网络,使用问题请自行百度
本程序中定义了函数ave,其形参为结构指针变量ps。boy被定义为外部结构数组,因此在整个源程序中有效。在main函数中定义说明了结构指针变量ps,并把boy的首地址赋予它,使ps指向boy数组。然后以ps作实参调用函数ave。在函数ave中完成计算平均成绩和统计不及格人数的工作并输出结果。-This procedure defines a function in the ave, the shape parameters for the structure pointer variable ps. boy is defined as the external structure of the array, so effective in the entire source code. Main function in the definition of variables describes the structure pointer ps, and the boy' s first address assigned to it, so that the array ps point boy. Ps and then call the function parameters for real ave. Ave in the function of the completion of the calculation results and statistics, the average number of fail results of the work and output.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
ah.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.