i don't know if that will help you out of not....
geez, this is frustrating...
the input file i have just has a list of 2 names on each line
This is a discussion on Search and Build Tree within the C++ Programming forums, part of the General Programming Boards category; i don't know if that will help you out of not.... geez, this is frustrating... the input file i have ...
i don't know if that will help you out of not....
geez, this is frustrating...
the input file i have just has a list of 2 names on each line
thats what i figured.![]()
she's up and working. bam!
FTree<familyTree>::iterator SearchandLocate(FTree<familyTree> &myFTree,
FTree<familyTree>::iterator &iteratorFirst, string member)
{
if(iteratorFirst != myFTree.end())
{
if((*iteratorFirst).name == member)
{
return iteratorFirst;
}
SearchandLocate(myFTree, iteratorFirst.DownFirst(), member);
if((*iteratorFirst).name == member)
return iteratorFirst;
SearchandLocate(myFTree, iteratorFirst.DownSibling(), member);
return iteratorFirst;
}
return iteratorFirst;
}