CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: kcorless84

Search: Search took 0.05 seconds.

  1. Replies
    3
    Views
    558

    Re: Binary search and vectors

    Never Mind. Thanks for all help. I solved it. I needed to add a line in BinSearch:
    [CODE]
    left=curIndex+1;
    curIndex++;
    [\CODE]
  2. Replies
    3
    Views
    558

    Re: Binary search and vectors

    Thanks for your answer. I did read about the map function, but since we have not yet been taught that, I am hesitant to use it. It may be frowned upon to ask for debugging help, but I did spend...
  3. Replies
    3
    Views
    558

    [RESOLVED] Binary search and vectors

    in the code below, when i Add planets (i'm trying to keep them in name order in the vector), it mostly works, but when i and A then C then B, B comes out first in the vector not in the middle. Any...
Results 1 to 3 of 3





Click Here to Expand Forum to Full Width

Featured