I'm looking for a structure, something like a tree or map, which allows me to check if a key is in there but also if the path to it matches in a specific order. Think of "hello". I'd like to know that the o is in the map but also that I've chosen the path "h" "e" "l" "l" "o" to get there. I'm not sure what structure I can use for this.
background: I want a tree of commands that will be read character by character out of a file. To avoid searching for every possible command, I'd like to speed things up by narrowing down the path in a tree. So the tree could consists of the three commands "hello1", "hello2" and "test".

Looking for some structure like a tree ...
Marian Major
I don't believe there is a ready made structure for such use but you can create your own. I am sure if you search the net for similar ones, you might find related matches.
Since this forum is specific for VC2005 issues, I would recommend using other sites like http://www.codeguru.com/ & http://www.codeproject.com/ where algorithmic issues would be more suitable.
Thanks,
Ayman Shoukry
VC++ Team