For a class assignment, I've been trying to make a program which organizes some info about hockey players into vectors and then calculates averages. However, the information off of the .txt file has to seperate things using commas and quotations like such:
"Steve Downie ","5' 11""",191,04/03/87,25,"Newmarket, ON, CAN"
Going by name, height, weight, birthdate, age, birthplace. How can I seperate each peice of information into its own seperate vector without accidentally reading in something that shouldn't be in there?