--- In [email protected], "aviasd" <[EMAIL PROTECTED]> wrote:

Forgot to mention that i do a vec.sort(v) before running binsearch

>
> Hi , I have a vector containing various string numbers , i.e 
> v[0] = "345" 
> v[1] = "234" 
> v[2] = "456" 
> etc
> 
> when i do binsearch for the first value , the index return is -1 , 
all 
> the others are ok..
> I think it's a bug since it has to return 0...
> 
> Please correct me if i'm wrong...
> 
>  thanks 
> 
> 
> avi
>


Reply via email to