A example how to parser yaml files in c and c++