I am tried to know about yaml rules.
And init.yaml file is like this:
name: Ryan Braun
position: LF
Main code:
int main()
{
YAML::Node node = YAML::LoadFile("init.yaml");
cout << node.Type() << endl;
return 0;
}
This was just a simple example, I want to see my node's type. This should a map as described in How To Emit YAML. But the output is 0, which means is Undefined. That makes me confused. Maybe I misunderstand.
Any suggestions will be thankful.