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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started