请问这个小程序输入什么结束符,才能继续运行?
#include <stdio.h>int main(void)
{
int ch;
while ((ch = getchar()) != EOF)
putchar(ch);
printf("hello\n");
return 0;
}
VC6.0 windows操作系统。
输入什么结束符,才能结束循环,继续执行打印指令打印hello。
2013-02-18 16:39
2013-02-18 16:43
2013-02-18 16:48
2013-02-18 17:18
非常感谢哇~谢谢大侠~~~~~~~
2013-02-18 17:25
2013-02-18 19:33