#include <stdio.h>
int main()
{
char ch;
puts("Start typing");
puts("Press ~ then Enter to stop");
for(;;)
{
ch=getchar();
if(ch=='~')
{
break;
}
}
printf("Thanks!/n");
return(0);
}
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/266617.html