on-internet
← Community

How to read CSV data from file in C++?

Stack Overflow ·

I have a data file where I need to read a datum from each line and store it. And then depending on the value of one of those datums store that data in an array so that I can then calculate the median value of all of these data. The line of data is demographic information and depending on the geographic location, address of a person. I need to capture their age and then find the median of the people that live on a particular street for example. So the data set is 150,000 records and each record has 26 fields, a lot of those fields are segments of an address and then the other fields are just nu

Comments

Sign in or sign up to comment and upvote.

No comments yet.