Hi, I have a porblem sending an array to a function, it sounds quie simple, however, it won´t let me do it, I believe there should be a way to do it, however, i cannot find it, if someone knows how, please help me, i want to do it without having to send a single element each time.
It is an array of pointers, it has 4 elements, a simple list is attached to each of the elements, i can send the pointers one on one, but for a function I require the structure to go complete, but it won't, please help!!!!!!!!!
nodo *arr; //this is the array of pointers to a structure named nodo
/*now each pointer is sent to a function and each one gets a list, therés no problem on that/*
now for sending it to a function i´ve tried all this:
none of them work, I don´t know if the way to recieve it is correct
the function declaration is:
int function(nodo **arr);
however that is forr recieving a pointer, if I try to recieve it as an array it won´t do it either, like this:
int function(nodo arr)
pleae, i will be really thankful to any suggestions