摘要
详细介绍了在C语言程序设计中遇到的一些疑难问题及其解决的方法 ,其中涉及到比较运算 ,数组 ,函数 ,指针等方面的问题。在C语言中输入多余的留在缓冲区中数据要及时用fflush( )函数清理 ;数组的长度是固定 ,但可借助指针变量来实现数组的动态存储 ;作函数形参的数组并不是真正的数组 ,而是指针 。
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.
出处
《沈阳航空工业学院学报》
2004年第3期52-54,共3页
Journal of Shenyang Institute of Aeronautical Engineering