I'm trying to run a program in Code::Blocks, and in my program I have used the hash functions, such as hsearch
and hcreate
, but Code::Blocks seems to not allow them.
I have the header:
#include <search.h>
included already, but errors such as "undefined reference to 'hsearch' "
still comes up.
Is there anyway to allow these functions to run in Code::Blocks at all?