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 |
我觉得没什么烦得,它就是把换行当成普通字符了In Reply To:真要说的的话肯定要跑到<string>里面去的,我跟进去过一回,要两个回车的过程一两句话说不明白的 Posted by:00448264 at 2005-05-28 12:35:41 不指定分隔符的时候,默认就是换行'\n' 第一个换行被当作普通字符读进去了,第二个换行才相当于通知了程序,可以响应输入了。 这是我刚才看了一下msdn的理解 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator