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 |
Re:我可以这样读入数据吗?In Reply To:我可以这样读入数据吗? Posted by:IdoIwill at 2006-11-27 00:48:59 > void ReadNumbers() > { > tNumLen=0; > > do { > cin>>tNum[tNumLen]; > tNumLen++; > } while(tNum[tNumLen-1]!='\n'); > tNum[tNumLen--]='\0'; > } 为什么不直接cin>>tNum;? Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator