Reading and storing csv file data

hello,
i am working on a small c++ project where i read from a csv file with information in this format:

string,string,int
string,string,int
string,string,int

And all of the above information is one person. As is "John,Peter,23" is first name, last name, age. When there are multiple people in a csv file how can i parse through and seperate the information in a string and int for later use?

Thank you, any help is appretiated.
Last edited on
closed account (Dy7SLyTq)
c file i/ox
i apologize but i dont even understand what "c file i/ox" is and also the second link is of no use.
i figured out the issue. thnx
Topic archived. No new replies allowed.