新手问题 谢谢
# include <stdio.h># include <stdlib.h>
# include <string.h>
main()
{
char name[20];
printf("Input a name:");
gets(name);
printf("The name input was: %s\n", name);
getch();
}
此程序的运行 为什么在输入完字符串后 需要按两下回车才能 输出答案
不清楚为什么 希望高手点 谢谢
2008-01-01 15:00
2008-01-01 19:50
2008-01-01 20:09
2008-01-01 20:12