现在VS2017, EOF 要按三次Ctrl+Z+回车,才会退出么?
程序代码:
#include<stdio.h> int main() { int a; while (scanf("%d", &a) != EOF); return 0; }
[此贴子已经被作者于2017-11-21 23:55编辑过]
#include<stdio.h> int main() { int a; while (scanf("%d", &a) != EOF); return 0; }
[此贴子已经被作者于2017-11-21 23:55编辑过]