Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- binary file
- fname
- lname
- id -int
- grade 1 2 and 3
- at least 10 records
- when file begins contains linklist that acts as an indx to records in file
- open file as i/o file
- linklist contains id, position of record in file
- id is the key
- creates linklist which serves as indx to bin file
- createsw menu
- menu containt 1 display keys 2 display records in id order 3 display records in name order 4 display record in avg oerder 5 add record 6 quit make sure everythign is cleaned up, files are closed, actually adds record to bin file
- record contains name id grade 1 2 3 avg
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement