I have a .csv file which contains only two columns with names and ages of people. It looks like:
Name Age
Peter 16
George 15.5
Daniel 18.5
I would only like to collect the ages of the people in a vector of doubles. So I'd like to have something like vect = {16,15.5,18.5}.
How could I achieve this when using only the standard library ?
Many thanks