| ||||||||||
| 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 | |||||||||
见内In Reply To:实在不行了, 求助, Java 的BufferedReader到底怎么判断到达文件尾? Posted by:twf at 2008-04-08 16:23:46 BufferedReader cin=new BufferedReader(new InputStreamReader(System.in));
String str;
while((str=cin.readLine())!=null)
{
System.out.println(str);
}
Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator