scanf("%d%d",&a,&b)!=EOF 不懂,能解释给我听吗,谢谢
呵呵 如题啊
Returns the number of fields successfully converted and assigned; the return value does not include fields that were read but not assigned. A return value of 0 indicates that no fields were assigned. The return value is EOF for an error or if the end-of-file character or the end-of-string character is encountered in the first attempt to read a character.
from MSDN