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

while(in.hasNext())就OK了

Posted by jackjack at 2005-08-12 23:20:04 on Problem 2556
In Reply To:问个问题???? Posted by:ync at 2005-08-12 22:03:42
> 我一直用c++ 写代码
> 
> 我现在也想用java 来写
> 请问java 里面怎么判断文件结束
> 就是用什么来代替c 里面的scanf()!=EOF 

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