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

C语言程序设计中若干问题的探讨
引用本文:孙玉霞.C语言程序设计中若干问题的探讨[J].沈阳航空工业学院学报,2004,21(3):52-54.
作者姓名:孙玉霞
作者单位:沈阳航空工业学院信息经济系,辽宁,沈阳,110034
摘    要:详细介绍了在C语言程序设计中遇到的一些疑难问题及其解决的方法,其中涉及到比较运算,数组,函数,指针等方面的问题。在C语言中输人多余的留在缓冲区中数据要及时用fflush()函数清理;数组的长度是固定,但可借助指针变量来实现数组的动态存储;作函数形参的数组并不是真正的数组,而是指针,可用指针的方式来引用。

关 键 词:数组  函数  指针  C语言  程序设计
文章编号:1007-1385(2004)03-0052-03
修稿时间:2003年12月23

Discussion of some questions in program design using C language
SUN Yuxia.Discussion of some questions in program design using C language[J].Journal of Shenyang Institute of Aeronautical Engineering,2004,21(3):52-54.
Authors:SUN Yuxia
Abstract:The difficulties and their solution in program design of C were discussed in detail in this paper, which include comparison operation, array, function and pointer etc. In C, the superfluous data which are left in buffer should be cleaned up by fflush() in time; dynamical storage of array was completed using pointer variable though the length of array is changeless; the array as formal parameter of function can be used as pointer,but they are pointer actually not pure array.
Keywords:array  function  pointer
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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