scanf 到回车符

while(scanf("%[^\n]", buf)>0)
posted @ 2017-03-30 17:22  suwish  阅读(279)  评论(0)    收藏  举报