views:

101

answers:

2

Possible Duplicate:
Container Class / Library for C

We have 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

A: 

Here is a hashtable in C, and a more general library here

Matthew Talbert
A: 

I warmly recommend glib, the general-purpose library that lies underneath the GTK+ widget toolkit. It's excellent.

unwind