How ifstream acts differently than cin in c++?

前端 未结 0 1858
误落风尘
误落风尘 2020-12-04 14:02

When we use cin>>input;, space is used for terminating statement, however if we use the following code

ifstream fin("myfile.dat")         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题