ok i changed that line to this
but now when i try to load a file or add data it exits the program. i cant understand why it would do thatCode:p = (struct details *)realloc(p,(entry*(sizeof(struct details))));
ok i changed that line to this
but now when i try to load a file or add data it exits the program. i cant understand why it would do thatCode:p = (struct details *)realloc(p,(entry*(sizeof(struct details))));