+ 1
How do I read in numbers sepeared by commas from a text file?
5 Answers
+ 2
Can you do it from cin instead of a file? If yes, just look at the link of Bebida Roja and you can do it.
+ 1
take a look at fstream library http://www.cplusplus.com/reference/fstream/fstream/
+ 1
thank you all
0
you can read file line by line and you can tokenize it for comma delimiter.