Hi,
Im having a problem with having the information within a struct pritning properly.
The function returns a pointer to a record.
recordptr = search(&abc);
then I do the following:
strcpy(temp, record_ptr->date);
printf("%s", temp);
I was trying to print out a portion of the sturct as above, but all I get is junk. Is this the correct approach, or does the problem lie somewhere else?
Thanks