Hi, as you can see, I'm really don't know what's the best way to do this...
This is an example of what I'm trying to do:
struct NAME{
//Fields...
}
int main()
{
struct NAME *pointer;
(give the pointer a size with malloc);
function(pointer);
}
void function(struct NAME *pointer)
{
now here is where I get confused, do I have to do malloc again (pass the size of the pointer to function)? Or theres no need?
}