Read Line From File Until Newline and Store it in Char Array

后端 未结 0 1139
滥情空心
滥情空心 2020-12-19 09:06

I am trying to write a program that reads one line from a file and stores it into a char array. Since I only want to read one line, I want it to stop reading at the newline.

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