Question: How do you implement a binary file, accounts.dat which should hold a maximum number of 50 accounts. Those accounts can be stored as an array,

How do you implement a binary file, accounts.dat which should hold a maximum number of 50 accounts. Those accounts can be stored as an array, but any change in any account should be immediately reflected in the data file not only on exit.

In the accounts.dat the following is stored for each customer: first name, middle initial, last name, account number(6 digits), account balance

The accounts.dat file is being changed by a c program which can do the following: deposit, withdrawal, add account, remove account, balance inquiry, and view accounts.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!