2010-03-17から1日間の記事一覧
以下のようにしてできました。 #include <vector> #include <boost/property_tree/ptree.hpp> #include <boost/property_tree/xml_parser.hpp> #include <boost/foreach.hpp> #define foreach BOOST_FOREACH struct Book { std::string title; std::string author; Book() {} Book(const Book& other) : title(other.title), author(other…</boost/foreach.hpp></boost/property_tree/xml_parser.hpp></boost/property_tree/ptree.hpp></vector>