5

Possible Duplicate:
Good STL-like library for C
Are there any open source C libraries with common data structures?

Is there a "standard" library that C programmers use for frequently-used data structures (hash/tree-based sets/maps, heaps, etc.)? Or is there no single, well-known implementation?
(Something kind of like Boost for C++?)

Community
  • 1
  • 1
user541686
  • 205,094
  • 128
  • 528
  • 886

1 Answers1

7

See GLib or APR (Apache Portable Runtime) library, they are the most well-known C libraries for data structures.

http://developer.gnome.org/glib

http://apr.apache.org

ouah
  • 142,963
  • 15
  • 272
  • 331
  • Just looking at GLib's website brings tears to my eyes (fonts aren't rendered correctly...), but APR looks pretty awesome -- seems to have [everything](http://apr.apache.org/docs/apr/0.9/group__APR.html). :) Will take a look at them, thanks! +1 – user541686 Jan 13 '12 at 20:14
  • GLib is much more complete, but APR is great too – ouah Jan 13 '12 at 20:15