I need to load and use CSV file data in C++. At this point it can really just be a comma-delimited parser (ie don’t worry about escaping new lines and commas). The main need is a line-by-line parser that will return a vector for the next line each time the method is called.
I found this article which looks quite promising:
I’ve never used Boost’s Spirit, but am willing to try it. But only if there isn’t a more straightforward solution I’m overlooking.