Keep getting an error 'syntax before struct_acc' but cant see where can YOU?!
(it's like finding woldo to me)
void print_customer_statement(char customer[])
{ int choice;
struct_acc Acc[SIZE];
FILE *file_ptr;
int i=0;
file_ptr = fopen(customer, "rb");
if (file_ptr == NULL)
{
printf("Error in Opening files... Program End\n");
exit(1);
}
while(!feof(file_ptr))
{
fread(&Acc[i], sizeof(struct_acc), 1, file_ptr);
i++;
}
sort_date(struct_acc Acc[], int n);//Here Is Where the error is??
fclose(file_ptr);
}