How to use fscanf() for two strings (of ANY length) and de-allocate the memory properly

后端 未结 0 1743
夕颜
夕颜 2021-02-05 07:49

I need to read an input .txt file and print out two separate strings from each line in the file. I used a while loop and a fscanf function to get each string and ignore blank sp

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