Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Mathimatics-Numerical algorithms Data structs
Title: FindStringInSortedArray Download
 Description: // Function: FindStringInSortedArray // Usage: index = FindStringInSortedArray (key, array, n) // ------------------------------------------------------------- // The function searchs the array looking for the specified key. // The argument n specifies the effective size of the array, which must // be sorted according to the lexicographic order imposed by StringCompare. // If the key is found, the order imposed by StringCompare. If the key is found, the order imposed by // StringCompare. If the key is found, the function returns the index in the array at which that key appears. // (If the key appears more than once in the array, any of the mathcing indices may be returned). If the key // does not exist in the array, the funcion returns-1. In this implementation, FindStringInSortedArray is simply // a wrapper all the work is done by the recursive function BinarySearch.
 Downloaders recently: [More information of uploader 1031808962]
 To Search:
File list (Check if you may need any files):
FindStringInSortedArray.c
    

CodeBus www.codebus.net