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:lsm_bupt at 2006-07-17 00:56:19 while(true) { scanf("%s",str[cnt++]); ch = getchar(); if(ch == '\n') break; } 这样可以吗。。。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator