| ||||||||||
| 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:hawk at 2003-12-09 17:57:58 > 自己看看怎么判断文件结束,当然,这不是文件输入,而是标准输入,不过方法是一样的。
> 比如c++中
> cin>>..>>..;
> while(cin)
> {
> ....
> cin>>..>>..;
> }
Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator