C Containers library

Discussion in 'C Programming' started by jacob navia, Aug 26, 2011.

  1. jacob navia

    jacob navia Guest

    The C Containers library project aims to provide a portable
    specification of a container library for the C language.

    A sample implementation of the specification is provided, available at
    no cost.

    Available containers are:

    o lists (single/double linked)
    o vectors (extensible arrays)
    o valarrays (numeric arrays, extensible)
    o hash tables
    o trees
    o string collections
    o string lists
    o bitstrings
    o bloom filters

    auxiliary interfaces to heap management are provided.

    The full documentation and the source code is available
    at no cost from

    http://code.google.com/p/ccl

    The string list container is the latest addition to the library.

    Comments about the source code are welcome.

    jacob
    jacob navia, Aug 26, 2011
    #1
    1. Advertising

  2. On Aug 26, 9:55 am, jacob navia <> wrote:
    > The C Containers library project aims to provide a portable
    > specification of a container library for the C language.
    >
    > A sample implementation of the specification is provided, available at
    > no cost.
    >
    > Available containers are:
    >
    > o lists (single/double linked)
    > o vectors (extensible arrays)
    > o valarrays (numeric arrays, extensible)
    > o hash tables
    > o trees
    > o string collections
    > o string lists
    > o bitstrings
    > o bloom filters
    >
    > auxiliary interfaces to heap management are provided.
    >
    > The full documentation and the source code is available
    > at no cost from
    >
    > http://code.google.com/p/ccl
    >
    > The string list container is the latest addition to the library.
    >
    > Comments about the source code are welcome.
    >
    > jacob


    Get a bloody coding style. Seriously, your style _SUCKS_. It's
    inconsistent. From list.c:


    static int DefaultListCompareFunction(const void *left,const void
    *right,CompareInfo *ExtraArgs)


    static list_element *new_link(List *li,void *data,const char *fname)


    static int Clear_nd(List *l)

    That's not one, but _THREE_ different coding styles in the space of 50
    lines.

    My remedy: K&R, underscores.
    HENRY Eshbaugh, Aug 29, 2011
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ross Boylan
    Replies:
    12
    Views:
    576
    Ross Boylan
    Feb 13, 2004
  2. Bob
    Replies:
    2
    Views:
    298
  3. Replies:
    7
    Views:
    553
    Pete Becker
    Jan 25, 2008
  4. Morten
    Replies:
    3
    Views:
    436
  5. Sebastian Mach
    Replies:
    5
    Views:
    311
Loading...

Share This Page