Re: access variable...





On 04/10/06, Richard Boaz <riboaz xs4all nl> wrote:
i've modified your code below to demonstrate.  but basically, you
must have a known structure defining the pointers elements so that
both routines have access to it the same way.

so, move your data structure definition to the outside, making it a
typedef.  then all the routines will know how to access the
individual elements by simply casting the passed pointers.

richard

Thank you very much for your answer Richard.... yes i figure that myself a few mins ago... as the pointer value was the same.... then there should be something wrong into my definitions... Thanks for your reply though...



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]