Boost logo

Boost :

Subject: Re: [boost] [spirit]
From: Joel de Guzman (joel_at_[hidden])
Date: 2009-06-06 10:01:16


Chandrashekhar Kumar wrote:
>> I have to parse the file, the contents of which(with a header) is below and
>> stuff the double part only to std::vector<double>:
>>
>> "A","B","C","D"
>> 1,2,3,4
>> 5,6.7,8
>> ........
>
>
> Oops, there were typos ..
>
> the file reads like this:
>
> "A","B","C","D"
> 1.0,2.0,3.0,4.0
> 5.0,6.0,7.0,8.0
>
> I have still to find the solution though :(

BTW, you might want to post to Spirit's mailing list:
http://www.boost.org/community/groups.html#spirit

Please post complete code that we can try, as per Spirit's
policy:

http://www.nabble.com/Support-Policy-td21433231.html#a21433231

Regards,

-- 
Joel de Guzman
http://www.boostpro.com
http://spirit.sf.net

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk