Parse YAML Files in C++

后端 未结 4 1334
醉话见心
醉话见心 2020-12-07 18:28

I want a simple tutorial to show me to load a yaml file and parse the data. Expat style would be great but any solution that actually shows me the data in some form would be

4条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-07 18:39

    I have written a tutorial at http://wpsoftware.net/andrew/pages/libyaml.html.

    This covers the basics of using libyaml in C, using token-based and event-based parsing. It includes sample code for outputting the contents of a YAML file.

提交回复
热议问题