在C通用数据类型的图书馆吗? [英] Any library for generic datatypes in C?

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

问题描述

我想用C编写2D游戏引擎(没有C ++)。什么是有我可能需要通用的数据类型的一些好的库 - 例如队列,树,图,表,等等

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?

推荐答案

看看 GLib的 - 它有树木,包含HashMap,链表和队列

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

编辑: 维基百科的文章

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

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