I am trying to access information within a structure. I am trying to do this by passing a pointer to the structure into a function. The function is declared like so:
I am then calling on the function like so:
void areaItems(Ptr *sPtr); //typedef Ptr is a pointer to item structure
Hopefully I haven't screwed anything up yet.
areaItems(&startPtr); //is this the right way to pass in the pointer to the first structure in my linked list???
Here is the code for void areaItems:
...This is clearly not working....but why?
void areaItems(Ptr *sPtr)