Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
把ignore放到循环外面In Reply To:Re:why cin.ignore? Posted by:00448144 at 2005-04-20 22:34:13 循环里面是用getline读的,他自己就会跳过回车 只有最外面那个cin>>,才需要跳过 > 跳过回车啊 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator