While loop stops after first iteration of getLine while reading in from a file

前端 未结 0 797
遥遥无期
遥遥无期 2020-12-14 13:55

I wish to read a file line by line and the do something with each string of each line. I tried to this by:

#include 
#include 

s         


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