Sometimes I get segfault when reading a file line, sometimes not?

前端 未结 0 639
北荒
北荒 2020-12-03 10:45

So below is my code. As you can see, the first thing I do after declaring variables is open up a file as an ifstream. Sometimes the code runs fine, and sometimes I get a seg

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