C语言程序设计中键盘输入数据的方法分析
Method Analysis of Keyboard Input Data in C Language Programming
摘要:
在C语言程序设计中经常需要从键盘输入所需要的数据,可以通过不同的输入函数来实现。本文对这几个输入函数的使用举例并进行分析说明,通过比较,分析出每种函数的使用方法和注意事项,达到正确使用的目的。
Abstract:
In C language programming, it is often necessary to input the required data from the keyboard, which can be achieved by different input functions. In this paper, some examples and analysis are given for the use of these input functions; through comparison, usage and considerations of each function have been analyzed, to achieve the purpose of correct use.
参考文献
|
[1]
|
谭浩强. C语言程序设计[M]. 北京: 清华大学出版社, 2016: 88-90.
|
|
[2]
|
王玉存. C语言基础教程[M]. 北京: 中国农业出版社, 2016: 102-110.
|
|
[3]
|
徐洪丽. C语言程序设计[M]. 北京: 北京师范大学出版社, 2018: 85-90.
|