Is there a good collection library for C-language? [duplicate]
Possible Duplicate:
Container Class / Library for C
We have开发者_Go百科 to maintain and even develop C-code of our legacy system. Is there good collection library that would support Java/C# (new versions) style collections. Hashtable, HashSet, etc. Of course without objects, but with structs. The HashTable key limitations to "strings" and ints is not a problem. It wouldn't be bad if it's free even for commercial use. I'm back to C from C# and I must say i'm depressed using our own libraries and the language in general. We're using VS2005 and MS C-compiler if that has nothing to do with anything.
Thanks & BR -Matti
I warmly recommend glib, the general-purpose library that lies underneath the GTK+ widget toolkit. It's excellent.
Here is a hashtable in C, and a more general library here
精彩评论