
8 Feb
2011
8 Feb
'11
5:46 p.m.
On 2/8/2011 5:13 AM, Max wrote:
Hello,
I'm using boost::tokenizer to do some simple parsing of data file in a format specified by the following rules:
- One record of several fields in a single line
- Adjacent data fields in a record separated by space char's(space or tab), with or without ","
- String without space(s), with or without quotation marks
- String with space(s), with quotation marks
Hi Max - I would use Spirit Qi for this task. You can find the documentation here: <http://www.boost.org/doc/libs/1_45_0/libs/spirit/doc/html/index.html> michael -- ---------------------------------- Michael Caisse Object Modeling Designs www.objectmodelingdesigns.com