This is a discussion on Seg fault? within the C Programming forums, part of the General Programming Boards category; oneuh...
Last edited by Stormweaver1; 04-03-2009 at 03:16 PM.
your add function does not update the T.table[kmode] pointer
why you are using different types for
new.table = malloc(s * sizeof (struct node*));
struct anode* table1 = T.table[kmod];
The first 90% of a project takes 90% of the time,
the last 10% takes the other 90% of the time.