hi there i need ur help please on performing a binary search on a textfile in vb.net
well this is for indexing project .
the text file is like this "sorted already"
index data
0 dfg
1 gdfg
2 gdg
3 gdg
4 jjyt
5 bds
6 dsf
7 vcv
8 ddsf
how to do binary search on it if i want to search for data in this file i think something like index/2 ... i dont know
if someone could give me an example or a code or project using the same that would be great
thanks in advance
well this is for indexing project .
the text file is like this "sorted already"
index data
0 dfg
1 gdfg
2 gdg
3 gdg
4 jjyt
5 bds
6 dsf
7 vcv
8 ddsf
how to do binary search on it if i want to search for data in this file i think something like index/2 ... i dont know
if someone could give me an example or a code or project using the same that would be great
thanks in advance