I am trying to write this to a binary file. It wont be implemented using scanf later, its just to see if its working for now.
customer_indexed indexed_array[FILE_SIZE]; //255
customer_fp = fopen("test.bin", "wb");
printf("Input customer first name: ");
printf("Input employee last name: ");
fwrite(&new_record, sizeof(new_record), 1, customer_fp);
I have another file to read the binary file, but it will only allow me to add one entry. I am calling the function twice in main.