| ||||||||||
| 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:phantomr at 2005-04-24 10:56:18 1,用字符串
2,for(;;){scanf(...);if(N==0)break;...}
> C语言中
> 1,循环输入时怎么避免把回车符输到字符变量里
> 2,对于输入多组测试数据,有没有不定义输入数组而用一个变量依次接收处理各组数据的方法?
> 谢!
Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator