void BinTree::Retrieve(TreeData& El, int& Success)
{
  if (Cursor == NULL)
    Success = False;
  else
  {
    El = Cursor -> Info;
    Success = True;
  }
}

void BinTree::Replace(TreeData El, int& Success)
{
  if (Cursor == NULL)
    Success = False;
  else
  {
    Cursor -> Info = El;
    Success = True;
  }
}

void BinTree::InitCursor(NodePtr Ptr)
{
  Cursor = Ptr;
}


Return to CIS 350 Index Page