Haha no I'm not sure why I haven't really questioned the (void *)1 thing yet...thank you for pointing that out to me.
And lookup requires void ** as it's third parameter...lookup doesn't know what...
Type: Posts; User: new to c
Haha no I'm not sure why I haven't really questioned the (void *)1 thing yet...thank you for pointing that out to me.
And lookup requires void ** as it's third parameter...lookup doesn't know what...
Thank you so much for the quick reply!
The insert function looks like this:
int insert(Table *table, void *key, void *item)
So I should declare occurrences as int *?
Hi,
I'm pretty new to this, so bear with me.
I'm having a few problems accessing data in a void *. Basically, we had to convert a program that created and performed functions on a linked list...