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 |
另外,我还有一个关于eof的问题。In Reply To:简单来说就是输入是从文件通过管道重定向转过来到stdin的,实际上就是文件输入,后面当然会有eof Posted by:frkstyc at 2005-05-20 13:18:35 如你程序: while(scanf("%s",str) != EOF) 我这样改为: cin>>In; while(In[0]!= EOF) 可以吗 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator