How can I use multiple delimiters (',' , '/n') with getline()?

后端 未结 0 561
死守一世寂寞
死守一世寂寞 2020-12-06 07:03

I am trying to read a text file in my code using fstream. The text file has the following structure,

Main,Johnsons,4,4
Lake,Smiths,1,2
Orchid,Hendersons,3,8
<         


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