Container Class / Library for C

Does anyone know of any C container libraries? I am looking for something which gives standard implementations of linked lists, arrays, hash tables etc, much in the same way as the C++ STL does. Key concerns are:

  1. Client code should be able to create containers for multiple different data types without modifying the library.
  2. The interface for creating and using the containers should be intuitive.

Answers


I just came across SGLIB while looking for a C implementation of a map/dictionary container. Unfortunately, no map but it seems to include the containers you asked about. I have no idea how good it is.

http://sglib.sourceforge.net.


Need Your Help

CoreGraphics drawRect in a cocos2d project EXEC BAD ACCESS

uikit cocos2d-iphone core-graphics exc-bad-access drawrect

I got a interesting riddle here. My cocos2d project uses a UIView to display nicer popups than the regular alert view. To be more flexible in the size of the popup, I draw the background in the dra...

Rails 2 + Paperclip + ImageMagick in Linux is not working?

ruby-on-rails linux imagemagick paperclip

I set up a app in windows using paperclip and imagemagick and it works fine.