Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

见内

Posted by ecjtubaowp at 2008-04-08 20:06:34 on Problem 1776
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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator