GLib

If you want to work with different data structures, GLib is one of the best options.

The GLib library contains many useful data structures and building blocks such as linked lists, hash tables, and others.

Here is a link to a guide:

Manage C data using the GLib collections

This will take you through how to use GLib to manage data structures of the sort that you get “for free” in languages like Matlab, Python, etc… data structures like lists, hash tables (otherwise known as dictionaries), arrays, trees, etc.

The guide also shows how to link to GLib at compile time.

Next up, we have GSL, which is used for complex calculations.

Create a free account to access the full course.

By signing up, you agree to Educative's Terms of Service and Privacy Policy