B
Bill Cunningham
What confuses me the most right now in looking at real world code out
there is this about pointers. When I see a paramter that obvious wants a
pointer, or that's what I believe anyway I don't know how to respond. For
example.
int func(void *par);
Ok I have seen things passed to this type in 3 differnt ways.
int *p;
func(p);
Or
func(*p);
Or
func(&p);
This is what's confusing me now. And I'm getting a lot of error because of
it.
Bill
there is this about pointers. When I see a paramter that obvious wants a
pointer, or that's what I believe anyway I don't know how to respond. For
example.
int func(void *par);
Ok I have seen things passed to this type in 3 differnt ways.
int *p;
func(p);
Or
func(*p);
Or
func(&p);
This is what's confusing me now. And I'm getting a lot of error because of
it.
Bill