什么是C最流行的通用集合数据结构库? [英] What is the most popular generic collection data structure library for C?

查看:132
本文介绍了什么是C最流行的通用集合数据结构库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在寻找一个C库,提供通用的集合数据结构,如列表,关联数组,集合等。库应该是稳定的,经过良好的测试。

I'm looking for a C library that provides generic collection data structures such as lists, associative arrays, sets, etc. The library should be stable and well tested. I'm basically looking for something better than the crappy C standard library.

这些描述符合什么样的C库?

What C libraries fit this description?

编辑:我更喜欢这个库是跨平台的,但是失败了,任何在Mac / Linux上工作的东西。

I'd prefer that the library was cross-platform, but failing that, anything that works on Mac/Linux.

推荐答案

如果您使用linux,我会使用 GLIB 。它提供了所有你期望的辅助库,加上它非常好的维护和非常活跃(总是a +)。上面的链接是直接到数据结构的部分,但在GLIB有很多其他的东西,所以看看周围!

if you are on linux, i would use GLIB. it provides all the helper libraries you would expect, plus its very well maintained and very active (always a +). the link above is straight to the section on data structures, but there is plenty of other things in GLIB so take a look around!

这篇关于什么是C最流行的通用集合数据结构库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆