random access and sequential binary files and functions issues
here i have the function that is supposed to delete a selected account and display the change in the file, but this instead removes all the account and leave only one. Can anyone help
void account_delete(char *filename)
printf("give the name of account to delete");
account_overwrite(filename,t[i]);//this open the file in "wb" and write to content of t[i] in the file. This one still works with other functions.