Boost logo

Boost Users :

Subject: Re: [Boost-users] [iostreams][spirit] regex_filter how-to
From: Roland Bock (rbock_at_[hidden])
Date: 2009-09-09 11:44:41


Michał Nowotka wrote:
> Hello
> I have following problem:
>
> I need to filter some records from one file and save it to another in
> my c++ application.

Hi,

spirit might also be alternative. I rewrote the sample from here

http://spirit.sourceforge.net/distrib/spirit_1_8_5/libs/spirit/example/fundamental/file_parser.cpp

into the attached program. Its not nice, has global variables but
probably shows a way how it could be done.

Regards,

Roland




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