Re: bool & stdbool.h



Jack Klein wrote:

On 22 May 2006 23:51:06 GMT, Alan L Brown <i.Alan@xxxxxxxxxxxxxx>
wrote in comp.lang.c.moderated:



I have not been able to find 'stdbool.h' in any lists of "standard" C
libraries.

First, neither <stdbool.h> nor any other standard C header is a
"library", it is a header. It happens to be a header that does not
prototype any functions, so it is unlikely that there is any library
associated with it at all.


To this and other replies to my post - excuse my inexactitude. By "library"
I meant a list of the header files forming a library.


Second, what are these "lists" of '"standard" C libraries', and what
reason do you have to believe they are authoritative and/or accurate?
There's a lot of rubbish on the net. Sturgeon's law is as true as
ever.


By "lists" I meant the header files listed in
Dinkumware http://dinkumware.com/manuals/reader.aspx?lib=cpp which lists the
"Standard C++ Library" and "Standard C Library" headers;
also from the University or Tasmania
(http://www.utas.edu.au/infosys/info/documentation/C/CStdLib.html);
and http://www.acm.uiuc.edu/webmonkeys/book/c_guide/index.html
and others.

I realize there is "a lot of rubbish on the net" and I don't have any reason
to believe the lists are "authoritative and/or accurate". Which is why I
have posted here to try to get a useful and helpful answer to my problem.


Could you please tell me whether 'stdbool.h' is actually part of the
Standard C library.

Third, no <stdbool.h> is not part of the standard C library, but it is
a standard C header which must be provided by any compiler claiming
conformance to any version of the C standard from 1999 on.

Point your favorite web browser (unless it is Internet Explorer, then
use another browser instead) at http://www.dinkumware.com/refxc.html,
read the terms of use, and then click on the white box with the foot
prints in it.


I have done that - see above. (With Forefox if that is relevant. Funnily, I
also tried Internet Explorer too and it worked!!!)

Thank you

Alan
--
comp.lang.c.moderated - moderation address: clcm@xxxxxxxxxxxx -- you must
have an appropriate newsgroups line in your header for your mail to be seen,
or the newsgroup name in square brackets in the subject line. Sorry.
.



Relevant Pages

  • Re: About libraries and headers
    ... You are assuming that the contents of a header file are closely ... The standard header files ... which are used to build the libraries. ... compiling them would not generate any ...
    (comp.lang.c)
  • Re: Boost process and C
    ... Lists, flexible arrays, stacks, queues, etc etc must be done ... and are kept OUTSIDE the standard library. ... Third step - get people to use your shiny new standard container library. ... string libraries -- if these are well-tested and widely available. ...
    (comp.lang.c)
  • Re: AlternateHeader not used by AllItems.aspx
    ... is there a standard header .aspx file or equivalent ... whereby I could edit that header file and alter the header for the 'lists'? ... > means you have to edit all the lists code but if it is of interest I'll post ...
    (microsoft.public.sharepoint.portalserver.development)
  • Re: AlternateHeader not used by AllItems.aspx
    ... is there a standard header .aspx file or equivalent ... whereby I could edit that header file and alter the header for the 'lists'? ... > means you have to edit all the lists code but if it is of interest I'll post ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: Boost process and C
    ... there are a lot of libraries but all of them incompatible. ... I started yet another discussion about the need for a portable standard container library several times and the answers were: ... list, queues etc, but as I said a lot of programming *is* done without ... And I suspect that many programmers use linked lists only in their homework assignments. ...
    (comp.lang.c)

Loading