Nov-03-2021, 05:07 PM
(Nov-03-2021, 04:58 PM)Gribouillis Wrote: I don't understand the call toseek()
in the file with an offset equal to thehash()
of some data calledVehicleID
. What is the purpose of this call? It will obviously lead to invalid operations on the file.
It takes the VehicleID value and puts it through the hash function to create an address.
The seek part creates the address in the file and dumps the record into it.