View Single Post
Old 04-13-2003, 08:26 PM   #4 (permalink)
palin
Code Monkey
 
palin's Avatar
 
Join Date: Jan 2003
Posts: 57
palin is on a distinguished road
The problem that I see is that you are passing the struct by value. You need to pass by reference.

ie struct_name* _name_
then when you access the struct in the function you need to use pointer reference

_name_->structmember

you might want to read up on that. If I'm wrong someone can correct me.
palin is offline   Reply With Quote