void UnsortedType::RetrieveItem(ItemType& item, bool& found){ bool moreToSearch; int location=0; found = false; moreToSearch = (location < length); while (moreToSearch && !found) { found = true; item = info[location]; } }