C中的通用数据类型的任何库 [英] Any library for generic datatypes in C?

查看:101
本文介绍了C中的通用数据类型的任何库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在C中编写一个2D游戏引擎(没有c ++)。有什么好的库可以使用通用数据类型,例如队列,树,地图,列表等?

解决方案

查看 GLib - 它有树,哈希表,链接列表和队列。 / p>

编辑: 维基百科文章


I am trying to write a 2d game engine in C (no c++). What are some good libraries that have generic data types I may need - for example queues, trees, maps, lists, and so on?

解决方案

Take a look at GLib - it has trees, hashmaps, linked lists and queues.

EDIT: Wikipedia article.

这篇关于C中的通用数据类型的任何库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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