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

倒不是不该问,我只是觉得文件和标准输入是一样处理的,cin应该也有eof函数

Posted by hawk at 2005-05-20 16:05:29 on Problem 1047
In Reply To:刚才去上课了。 Posted by:plumage at 2005-05-20 15:59:32
> 刚才去上课了。
> 至于文件处理
> 我只是简单的调用了.eof()函数。通过返回值来进行判断的。
> 
> 其实,我也看过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