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:请高手不吝赐教

Posted by tcxgsy at 2005-10-06 10:15:51 on Problem 2626
In Reply To:请高手不吝赐教 Posted by:hbu_tianyi at 2005-10-06 10:06:55
> 用c语言怎么控制输入呀?比方说用一个大数组,什么时候知道输入完毕了呢,采用什么方法控制输入?
> 不胜感激!!!!!
用 while(scanf()!=EOF)  //这是他编译器提供的控制语句 
   i++;//记录个数

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