I have got a file and it serves as a dictionary with many word entries in it. An example of such file can be downloaded from ftp://puzzlers.org/pub/wordlists/soed.txt
. I need a program that will perform a BINARY search on the file and return 1 if word is found and return a 0 if otherwise.
My function prototype is this
whereby the passed in value is the word to be searched.
I NEED SUGGESTIONS on how to solve it and need not be a complete program!