I have a text file containing several words and pointers, like this:
The String1, String2, String3......are sorted in lexicographical order.
What I want to do is to search a word among those Strings, using binary search, and return the int value beside the matched String.
Could anybody give me some detailed help on this question? Thanks in advance.