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

用scanf()时,我是用getchar()来读入那些空格还有行末的回车.某处不小心可能让程序给停下来不走了.用cin不用处理这些的.

Posted by Bupt_Pig at 2006-03-20 13:24:15 on Problem 1251
In Reply To:用 scanf 有什么问题? Posted by:sunmoonstar at 2006-03-20 13:19:39


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