在书上看到的程序#include "stdio.h"main(){ long nc; nc=0; while(getchar()!=EOF) ++nc; printf("%ld\n",nc);}编译时没有错误,运行时输入一串字符,然后按回车,什么也不显示,怎么回事?