• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // ----------------------------------------------------------------------------
2 // Copyright (C) 2009 Sebastian Redl
3 //
4 // Distributed under the Boost Software License, Version 1.0.
5 // (See accompanying file LICENSE_1_0.txt or copy at
6 // http://www.boost.org/LICENSE_1_0.txt)
7 //
8 // For more information, see www.boost.org
9 // ----------------------------------------------------------------------------
10 
11 #define _CRT_SECURE_NO_DEPRECATE
12 #include <boost/property_tree/xml_parser.hpp>
13 #include <boost/property_tree/info_parser.hpp>
14 #include <iostream>
15 
main()16 int main()
17 {
18     using namespace boost::property_tree;
19     ptree pt;
20     read_xml("simple_all.xml", pt);
21     write_info(std::cout, pt);
22 }
23