Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:这个程序怎么结束啊In Reply To:这个程序怎么结束啊 Posted by:ZHS_999 at 2008-09-30 11:55:27 > 如果照他说的 > while(scanf("%s%d",s,&n)==2) > 程序就会一直读取数据,结束不了啊。最后只能按Ctrl+Break > 谁能帮忙啊 > 谢谢! /*while(scanf(%s%d",s,&n)!=EOF) //this also work */ Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator