Tag: bsearch

45 Is the specification of `bsearch` in C++11 & C++14 defective? 2014-10-02T12:37:34.497

17 Ruby 2.0.0 Array#bsearch behavior 2014-04-22T14:08:49.343

10 Why does bsearch return a void *? 2011-10-29T10:36:42.003

9 Using bsearch to find index for inserting new element into sorted array 2014-05-05T20:56:53.667

7 Does in_array() use a binary search algorithm? 2010-05-13T10:46:41.187

6 Overload resolution on extern "C" and "C++" version of qsort()/bsearch() 2014-02-22T13:57:51.910

5 Trouble using bsearch with an array of strings 2013-04-05T02:34:49.550

4 How to find the insertion point in an array bsearch() works on? 2012-06-28T12:54:07.770

3 bsearch and struct (custom type) 2012-02-07T22:29:52.923

3 Segmentation Fault Using bsearch in C 2013-12-15T21:23:22.023

3 Any way to get bsearch to consistently do equality matching? 2014-02-17T19:16:31.767

3 C++ function pointer as parameter in Doxygen 2015-05-10T19:13:12.457

3 bsearch() comparing by name 2015-09-06T09:51:06.727

3 bsearch() - Finding a string in an array of structs 2017-05-09T14:32:22.503

3 How to use a member function with std::bsearch 2017-10-10T07:42:18.073

2 Help with pointers in C using qsort, bsearch 2010-02-20T22:44:51.083

2 Customizing compare in bsearch() 2010-03-24T05:24:29.570

2 something similar to stdlib bsearch that returns immediately smaller element 2010-11-19T12:29:43.347

2 qsort and bsearch an array of pointers 2011-05-29T10:05:51.323

2 bsearch and Visual Studio 2008 2015-12-28T09:12:56.600

1 pointer from integer w/o cast warning when calling lfind 2009-08-16T01:04:21.320

1 Why does the call to bsearch() crash the presented program? 2009-11-28T20:00:28.707

1 How is the bsearch() function in the standard C library implemented? 2010-01-03T03:01:20.607

1 bsearch function in c 2010-02-19T16:23:39.217

1 How can I find the real size of my C++ class? 2010-03-09T22:11:38.920

1 bsearch and searching range? 2011-03-24T18:59:21.503

1 bsearch with dynamic arrays in C 2012-04-18T00:59:12.010

1 Seeking a GMP binary search: How to compare two GMP mpz_t's using memcmp? 2012-10-26T03:35:29.380

1 Bsearch in C to match within a range of elements, instead of a specific element 2013-03-03T22:53:38.170

1 Determining index from bsearch and lfind? 2013-04-25T09:53:21.320

1 bsearch changing key in loop 2013-09-09T13:17:37.140

1 Getting "error: invalid initializer" when calling bsearch 2013-11-22T10:49:06.790

1 bsearch, array of const chars and pointer arthmetic 2013-12-02T07:16:56.397

1 Is there a way of finding position of element when searching a char array with bsearch() 2013-12-13T16:16:17.943

1 bsearch failed to find string member in an array of structure 2015-07-22T07:02:40.990

1 Is there a bsearch that returns the index rather than the value? 2015-09-05T23:29:03.760

1 C bsearch always returns pointer=NULL 2017-06-29T20:04:20.353

0 bsearch on multiple items in struct 2012-03-09T13:07:52.877

0 bsearch on array sorted in descending order 2012-06-09T17:01:25.487

0 C bsearch causing segmentation fault 2012-11-21T21:17:39.537

0 bsearch() doesn't find my item 2013-08-08T12:22:46.310

0 qsort and bsearch function..."pointer" 2013-10-03T06:21:27.390

0 Difference between bsearch and find in ruby 2014-02-26T01:07:52.593

0 Can not find bsearch(vc2008) even include the header file 2014-05-27T09:31:51.573

0 How to return an index from a bsearch or lfind? - sort distorts return vals 2014-07-15T16:21:53.817

0 bsearch with array of pointer of structs 2014-11-23T23:10:28.727

0 bsearch() returns (nil), causes segmentation fault 2015-01-07T14:20:56.080

0 How to use bsearch correctly in c? 2015-03-10T00:21:07.157

0 bsearch not searching entire array passed to it 2015-04-11T00:58:52.993

0 Using bsearch with key value equivalent to array element thats a pointer to a char in c 2015-08-09T12:20:14.210

0 Odd point issue by null pointer 2016-09-29T05:59:21.390

0 bSearch java program 2016-10-06T01:59:30.277

0 Bsearch function issue in C 2017-01-21T11:06:45.593

0 Using bSearch to sort ints read in from file 2017-02-27T22:46:19.327

0 bsearch of a dynamically allocated 2D array in C 2018-03-11T13:43:43.783

0 Bsearch with strings in C 2018-04-02T12:27:26.320

-1 Bsearch and junk values in the comparison function 2017-02-11T02:52:34.490

-1 bsearch() on an array of strings in C 2018-07-13T23:44:27.923

-2 Ruby Array #bsearch syntax error from Programming Ruby? 2014-05-06T15:37:25.753

-3 How to declare compare function in header 2017-10-12T07:25:01.580

-4 Bsearch function in C not working properly 2018-09-21T11:56:43.120

-5 reversed expression in bsearch block not working 2015-12-14T16:23:44.107