- tree.AddChild("animal");
- tree.AddChild("mammal", "animal");
- tree.AddChild("insect", "animal");
- tree.AddChild("bird", "animal");
-
- tree.AddChild("man", "mammal");
- tree.AddChild("cat", "mammal");
- tree.AddChild("dog", "mammal");
- tree.AddChild("giraffe", "mammal");
- tree.AddChild("elephant", "mammal");
- tree.AddChild("donkey", "mammal");
- tree.AddChild("horse", "mammal");
-
- tree.AddChild("fido", "dog");
- tree.AddChild("domestic cat", "cat");
- tree.AddChild("lion", "cat");
- tree.AddChild("tiger", "cat");
- tree.AddChild("felix", "domestic cat");
- tree.AddChild("socks", "domestic cat");
-
- tree.AddChild("beetle", "insect");
- tree.AddChild("earwig", "insect");
- tree.AddChild("eagle", "bird");
- tree.AddChild("bluetit", "bird");
- tree.AddChild("sparrow", "bird");
- tree.AddChild("blackbird", "bird");
- tree.AddChild("emu", "bird");
- tree.AddChild("crow", "bird");
+ tree.AddChild(_T("animal"));
+ tree.AddChild(_T("mammal"), _T("animal"));
+ tree.AddChild(_T("insect"), _T("animal"));
+ tree.AddChild(_T("bird"), _T("animal"));
+
+ tree.AddChild(_T("man"), _T("mammal"));
+ tree.AddChild(_T("cat"), _T("mammal"));
+ tree.AddChild(_T("dog"), _T("mammal"));
+ tree.AddChild(_T("giraffe"), _T("mammal"));
+ tree.AddChild(_T("elephant"), _T("mammal"));
+ tree.AddChild(_T("donkey"), _T("mammal"));
+ tree.AddChild(_T("horse"), _T("mammal"));
+
+ tree.AddChild(_T("fido"), _T("dog"));
+ tree.AddChild(_T("domestic cat"), _T("cat"));
+ tree.AddChild(_T("lion"), _T("cat"));
+ tree.AddChild(_T("tiger"), _T("cat"));
+ tree.AddChild(_T("felix"), _T("domestic cat"));
+ tree.AddChild(_T("socks"), _T("domestic cat"));
+
+ tree.AddChild(_T("beetle"), _T("insect"));
+ tree.AddChild(_T("earwig"), _T("insect"));
+ tree.AddChild(_T("eagle"), _T("bird"));
+ tree.AddChild(_T("bluetit"), _T("bird"));
+ tree.AddChild(_T("sparrow"), _T("bird"));
+ tree.AddChild(_T("blackbird"), _T("bird"));
+ tree.AddChild(_T("emu"), _T("bird"));
+ tree.AddChild(_T("crow"), _T("bird"));