开发者

Is there a good collection library for C-language? [duplicate]

开发者 https://www.devze.com 2023-01-01 17:13 出处:网络
This question already has answers here: Closed 12 years ago. Possible Duplicate: Container Class / Library for C
This question already has answers here: Closed 12 years ago.

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

0

精彩评论

暂无评论...
验证码 换一张
取 消