Page 1 of 1

Hash tables

PostPosted: Fri Jun 03, 2011 2:42 am
by Clokio
Is hash tables possible in c - GE?

Re: Hash tables

PostPosted: Mon Jun 06, 2011 12:36 pm
by makslane
If the hash table C code doesnt have any external dependencies (like include files, for example) you can just put the code in the Global Code editor and use the functions on your actions.

Re: Hash tables

PostPosted: Mon Jun 13, 2011 8:34 pm
by Clokio
makslane wrote:If the hash table C code doesnt have any external dependencies (like include files, for example) you can just put the code in the Global Code editor and use the functions on your actions.

Thanks :)

Re: Hash tables

PostPosted: Mon Aug 22, 2011 7:00 pm
by tintran
hi, i have a similar question.
is there a way to include the <fcntl.h>
like
#include <fcntl.h>

more specifically,fopen opens a file but blocks other things from happening with blocking
but open has the O_NONBLOCK flag which allows you to read with nonblock. Not sure if i am explaining it right.

Re: Hash tables

PostPosted: Tue Aug 23, 2011 12:18 pm
by makslane
You cant use external include files.
The current fopen function used be Game Editor need to be modified in order to do what you want.