Re: 10 most used

From: Thomas Matthews (Thomas_MatthewsSpamBotsSuck_at_sbcglobal.net)
Date: 05/31/04


Date: Mon, 31 May 2004 15:01:03 GMT

Profetas wrote:
>>In 'comp.lang.c', windle@charter.net wrote:
>>
>>
>>>>>Hi I am starting a project in C.
>>>>>And I would like to hear from you the 10 most used c library.
>>>>>
>>>>>just say the ones that pop up in your head.
>>>>
>>>>stdlib.h
>>>
>>>stdlib.h is far to be a library. It's just an emerging part of the
>>
> standard C
>
>>>library. It's a user interface.
>>
>
>>Sorry, I misunderstood his question.
>
>
> That is what I ment the ones that I use is
> malloc.h
> string.h
> stdio.h
>
> I want the ones that you use that I have not listed above.
>
>

Are you after the most popular header files or
perhaps the most common functions or some common
identifier?

For example, EXIT_SUCCESS and EXIT_FAILURE are common
identifiers from stdlib.h. However, if I am writing
a program the uses a lot of I/O, I'll include stdio.h,
but on an embedded system, I may not include any
library header files.

Also, how are you applying this information?

-- 
Thomas Matthews
C++ newsgroup welcome message:
          http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq:   http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.learn.c-c++ faq:
          http://www.raos.demon.uk/acllc-c++/faq.html
Other sites:
     http://www.josuttis.com  -- C++ STL Library book
     http://www.sgi.com/tech/stl -- Standard Template Library


Relevant Pages

  • Re: what happened to hash-tables
    ... >> You already need hashtables anyway internally for implementing Common ... Many of the people on the committee had much more experience ... The ANSI standard is about memorializing the "Common" practice ... Suppose that the winning extensible hash table protocol is based ...
    (comp.lang.lisp)
  • Re: OO syntax
    ... You have a few people who are proud of their OO implementations giving good reasons why their particular model should be adopted as a standard. ... I am pointing out that the Lua language doesn't offer objects as a primitive type. ... What Lua does instead is to provide meta-mechanisms and some minor syntactic sugar that allows programmers to create and use objects with whatever kinds of semantics make sense for the programmer and application. ... I am saying that I believe that if the people who advocate the various OO systems for Forth would stop thinking in terms of why their OO system is the best and instead focus on factoring what is common between their systems, the result would be a set of primitives that they could layer their OO system on top of. ...
    (comp.lang.forth)
  • Re: Cohens paper on byte order
    ... A normal user (a programmer working with a common ... the program of the recipient. ... transmission of the AES block. ... defined 'standard' functions for doing the conversion ...
    (sci.crypt)
  • Re: Modernizing Common Lisp
    ... standard supported bindings. ... models and socket abstractions that are common enough for standardization. ... hard to inject libraries to write portable code is a good thing? ... but with incompatible interfaces (sort of like the problem ...
    (comp.lang.lisp)
  • Re: Other issues with the FAQ
    ... Only the standard itself does that. ... though the C99 standard does. ... >> it should be mentioned in the FAQ anyway. ... Why would be Steve any different? ...
    (comp.lang.c)