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

Re:求教,那个EOF怎么判断啊??

Posted by frkstyc at 2005-04-27 10:18:26 on Problem 2410
In Reply To:求教,那个EOF怎么判断啊?? Posted by:scy911 at 2005-04-27 10:16:27
if(scanf(...)!=EOF)break;
or
if(gets(...)==NULL)break;

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