|
Boost : |
Subject: Re: [boost] Reading & Parsing an .ini input file using BOOST... ..Thanks!!
From: Rahul Mathur (srivmuk_at_[hidden])
Date: 2013-10-22 13:24:43
Below works as it reads complete data -
--- #include <iostream> #include <boost/property_tree/ptree.hpp> #include <boost/property_tree/ini_parser.hpp> #include <boost/filesystem/fstream.hpp> int main() { boost::property_tree::ptree pt; boost::property_tree::ini_parser::read_ini("input.ini", pt); std::cout << pt.get<std::string>("ORDENTRY") << std::endl; } --- But, how to read between pipes? On Tue, Oct 22, 2013 at 10:43 PM, Brandon Kohn <blkohn_at_[hidden]> wrote: > On 10/22/2013 1:01 PM, Rahul Mathur wrote: > >> Any clue? >> > Here's one: you've posted to the wrong list. :) You might want to try the > boost user's group. > > Cheers, > > Brandon > > > > > > ______________________________**_________________ > Unsubscribe & other changes: http://lists.boost.org/** > mailman/listinfo.cgi/boost<http://lists.boost.org/mailman/listinfo.cgi/boost> >
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk