Pelles C forum

C language => Beginner questions => Topic started by: jyc on August 19, 2012, 09:30:33 AM

Title: What library should I use for dictionaries/hashmaps/associative arrays?
Post by: jyc on August 19, 2012, 09:30:33 AM
Hello,

What library is typically used with Pelles C to implement dictionaries?

Thanks,
Jonathan
Title: Re: What library should I use for dictionaries/hashmaps/associative arrays?
Post by: CommonTater on August 19, 2012, 01:42:14 PM
There is no "Dictionary" library for Pelles C that I know of.

There are probably several you could use... just be sure they are written for C-99 or C-11  not C++.

However, dictionaries aren't that hard to write... a list of words, a big ole string array, a bit of binary searching...
Title: Re: What library should I use for dictionaries/hashmaps/associative arrays?
Post by: Pelle on September 01, 2012, 09:11:47 PM
There are some very basic hash, tree, and linked list functions in search.h ...