split a given string with commas in c: segmentation fault

后端 未结 0 1440
小鲜肉
小鲜肉 2020-12-03 18:38

I want to split the string pointed by buf, and store each comma separated values in the LINE struct. However, it produces segmentation fault. To my knowledge, I am not writi

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