节点文献
函数scanf()对字符串操作遇到的问题及处理
Problems and Handling in Character String Manipulation with Scanf () Function
【摘要】 C语言中 ,scanf( )函数是一个控制台输入函数 .可以用它输入任何类型的多个数据 .但是对字符串进行输入时 ,如果使用不当 ,会出现严重的问题 ,使变量得不到值或得到错误的值 .本文就常见的问题分析其原因 ,同时给出正确的使用方法 .
【Abstract】 In C programming jargon, the scanf() is a input function. It can be used to input various types of multi data. However, when it is misused in inputting character strings, no or wrong value would be concluded. The thesis is to analyse the reasons of some chronic problems and offer appropriate usage of them.
- 【文献出处】 洛阳师范学院学报 ,Journal of Luoyang Teachers College , 编辑部邮箱 ,2001年02期
- 【分类号】TP312
- 【下载频次】44