How do I go about using a structure as a function parameter?
How do I go about using a structure as a function parameter?
Passing structs to func with a string pointer
struct mystruct{
list members;
};
void in_data(struct mystruct, *in_str);
Oops vVv has already said this.
Oh well , to pass anything to a function you need to use the data type in this case the struct & an argument this uses a string pointer.
Last edited by breed; 01-30-2002 at 04:16 AM.
Before you judge a man, walk a mile in his
shoes. After that, who cares.. He's a mile away and you've got
his shoes.
************William Connoly