1
windywinter Sep 1, 2013
On success, the function returns the number of items of the argument list successfully filled. This count can match the expected number of items or be less (even zero) due to a matching failure, a reading error, or the reach of the end-of-file.
|
2
Hansee OP @windywinter 还是不太明白。其实是希望检验x,y的输入只为数字,且y不为0的判断。在sf上提问后,有人给出了这样的条件。现在输入非数字可以成功判断到,但是y为0还是无法判断。
|
3
nybux Sep 1, 2013
判断是不是读取到了2个变量,!=2没读去到,估计在if里面要有额外的错误处理
|
5
rteta Sep 1, 2013
新手认为是,成功读入两个符合指定数据类型的数 则执行if后面的语句 C语言从来就没学会过,坐等高手指点
|
7
wang2191195 Sep 1, 2013
|