节点文献
C语言中函数编写方法的分析与探讨
Analysis and discussion of writing functions in C programming language
【摘要】 函数是C语言学习的难点和重点,通过分析函数的结构,将函数编写中难以确定的问题进行分解、细化。按照返回值的个数将函数分为:无返回值函数、单反回值函数、多返回值函数三种类型。对这三种类型函数的设计方法分别举例分析和说明,详细阐述了函数编写的具体过程。
【Abstract】 Function is the key and difficult point in learning C language. Through the analysis of the function structure, the problems that are difficult to determine in writing functions are decomposed and refined. According to the numbers of the return values of function, functions may be divided into three categories, functions with no return values, functions with one return value, and functions with multiple return values. The design method of three kinds of functions are analyzed and illustrated with examples. The concrete procedures about how to write functions are elaborated respectively.
- 【文献出处】 计算机时代 ,Computer Era , 编辑部邮箱 ,2014年02期
- 【分类号】TP312.1
- 【被引频次】3
- 【下载频次】65