Re: bsearch for Windows ce

From: CBFalconer (cbfalconer_at_yahoo.com)
Date: 08/27/04


Date: Thu, 26 Aug 2004 23:55:05 GMT

val wrote:
> CBFalconer <cbfalconer@yahoo.com> wrote
>> val wrote:
>>>
>>> I found that Windows CE doesn't include bsearch function. Can
>>> somebody point me into right direction in order to solve that.
>>
>> bsearch() is a standard C function, and has been since at least
>> 1989. Complain to the compiler vendor. It has nothing to do with
>> the OS.
>>
>> The other choice is to write your own, under another name, as Ben
>> has suggested. But that way you cannot take advantage of possible
>> system optimizations.
>
> bsearch() is a standard C function - yes, I agree, but for some
> unknown reason it doesn't supported by Microsoft CE .NET package,
> which include Platform Builder and eMbedded Visual C++ 4, even in the
> stdlib.h in that versions it doesn't exist.

IMO you should ask for your money back. A useful rule is never to
use Microsoft products, they usually foul standards.

-- 
Chuck F (cbfalconer@yahoo.com) (cbfalconer@worldnet.att.net)
   Available for consulting/temporary embedded and systems.
   <http://cbfalconer.home.att.net>  USE worldnet address!


Relevant Pages

  • Re: can bsearch tell me the index?
    ... > bsearch finds me only the first occurrence of something I'm looking for, ... The Standard says that if 2 of the elements in the array compare equal, ... Al Bowers ... mailto: xabowers@myrapidsys.com ...
    (comp.lang.c)
  • Re: bsearch for Windows ce
    ... >> I found that Windows CE doesn't include bsearch function. ... > bsearchis a standard C function, and has been since at least ... unknown reason it doesn't supported by Microsoft CE .NET package, ...
    (comp.lang.c)
  • Re: Algorithm to compare to arrays of int
    ... > Is binary_search a standard C library function? ... No, but bsearch() is. ... Alex ...
    (comp.lang.c)
  • Re: Access Integration Opportunities
    ... I have "integrated" (i.e. different level or scope of integration) Access ... -oil and gas forcast/engineering software, ... Naturally I was able to answer with the standard ... > Microsoft products such as VB, Excel, Outlook, and Powerpoint, but that ...
    (microsoft.public.access.externaldata)
  • Access Integration Opportunities
    ... Recently the question was pose, "What opportunities exist to integrate ACCESS ... Naturally I was able to answer with the standard ... Microsoft products such as VB, Excel, Outlook, and Powerpoint, but that was ... any more common 3rd party titles or just their description. ...
    (microsoft.public.access.externaldata)