C program to count lines in a .txt file fails in some cases

后端 未结 0 1430
广开言路
广开言路 2021-01-26 08:37

I wrote a program in C to count lines in a txt file but it fails in some cases.

For example:

File1.txt- "Helloworld" - 0 lines

File2.txt- "He

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