C++ function `getline()` doesn't work correctly for char[]

后端 未结 0 664
逝去的感伤
逝去的感伤 2020-12-17 01:13

I need to extract the first 150 characters from a line and save them in a char[] array (no strings allowed). My code below doesn\'t work and i just can\'t find the reason wh

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