There doesn't seems to be any advantage in using the "long" precision of the record number variable by generating random numbers as the records are read.
so the record number is the position that each record appears in the .db file.
But you can't skip them in numeration
Vlad Djordan wrote:
Either way, you have to write that deleted (or possibly a new record in its place) record
back to the file.
I guess you implemented the delete and create methods from the given interface? These methods aren't referenced from the assignment, that is correct. But you have tested your delete/create methods in some way to see if you have implemented it correctly.
I'm not concerned with deleting records, or creating records.
And I guess you have misunderstood Vlad a bit, because he is saying exactly the same thing as you
Mark Blackwood wrote:
Sorry, I think my question's been answered above... Deleted!