P
Paminu
I am implementing a double-linkedlist in C. I have defined some pointers
that points to different locations in my list. Before using the list I will
initialize these pointers and when I call insert/delete etc they will be
changed.
Instead of giving each funtion these pointers as argumentens I was wondering
if it was possible to place them i a .h file and initialize them there. When
a function changes the pointers they will be updated in the .h file which
will always contain the most updated version of the pointers.
Is this possible?
Johs
that points to different locations in my list. Before using the list I will
initialize these pointers and when I call insert/delete etc they will be
changed.
Instead of giving each funtion these pointers as argumentens I was wondering
if it was possible to place them i a .h file and initialize them there. When
a function changes the pointers they will be updated in the .h file which
will always contain the most updated version of the pointers.
Is this possible?
Johs