why does fgets() keep skipping last letter when I dont have an empty line at the end?

前端 未结 0 1411
忘了有多久
忘了有多久 2020-11-21 13:54

I want to get every line and put it in my array. This works when I have an empty line at the end of the file, but I need to be able to process all lines without having a lin

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