I wrote an address book program with everthing functioning well. When I choose the print_entry option, it is supposed to print out all 3 entries that i put in, however it only prints out the most recent entry. Any advice on getting this right?
Code:
case 2:
printf("%d", TotalAddress);
for (x=0; x <= TotalAddress; x++)
{
print_entry(new_info[x]);
}
break;