getline() only works some of the time

后端 未结 0 1752
醉梦人生
醉梦人生 2021-02-15 07:32

I want to create a replica of the head UNIX method. I want the user to type into command line "./PROGRAM_NAME head -n 5 [FILE]" and for the program to print the first

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