Hi, please can someone explain how I would take a text file containing comma-separated variables and put it into an array in C++ so that I can easily work with the data. The CSV file has 3000 rows and about 5 columns, and I'd like to keep the array with the same number of rows and columns.

I'm new to C++, so I hope that this question makes sense. If not could someone please explain what would be the best way of getting this data into C++ so that I can work with it easily?

Thanks in advance for your help!