Boost logo

Boost Users :

Subject: [Boost-users] determining the number of collumns in a .csv file
From: Sean Farrow (sean.farrow_at_[hidden])
Date: 2009-07-27 07:52:36


Hi:

I am currently using the boost.spirit example to process a csv file.
Rather than stuffing all values in to a vector as the example does what
I'dx like to do is to determine how many columns exist and stuff all
values in to a multi-dimensional array.

What is the best way of doing this?

Cheers

Sean.



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net