View Single Post
Old 01-16-2003, 08:23 AM   #9
jornel
Member
 
Join Date: Sep 2002
Location: Canada
Posts: 73
jornel is on a distinguished road
It doesn't look like you are printing your data, you have a bad or missing pointer to your information.  To know more, I'd need to see the line(s) before and upto the line that printed that display.

I also noticed that in your original function you allocate a structure, keep a pointer to it in the variable pSeg, read your strings from the file and then exit.  But no other function can reference this data, since the variable pSeg disappears when load_segments() returns.
jornel is offline   Reply With Quote