Hello world

c刷新缓冲区

int c;
while((c = getchar()) != '\n' && c != EOF);

 

posted @ 2017-04-18 17:12  hershell  阅读(778)  评论(0编辑  收藏  举报