Hi guys,
By any chance do any of you guys know any way to implement an array of linked list without using vector, since i need to implement an array of linked list using c and unfortunately vector library is unavailable.
This is what i did:
Struct MyList{
int size;
int stat;
struct Mylist *next;
};
typedef stryct Mylist node;
void create_node(node *current, int size, int stat){
current -> size = size;
current -> stat = stat;
current -> next = NULL;
}
int main(){
node *ilist =NULL;
//i am not sure how to implement an array of linked list without vector
node *list[10];
list[0] = create_node(ilist, 32, 10);
}
Thanks Heaps!
Amy