>how do I initialize a hash file???
Hopefully the file already exists, but we're basically talking about a binary file where every record is exactly the same size. This way you can calculate an offset with the hash function.
>Also, do I still need to use an array of any sort or not with hash files?
You only need to work with a single record at a time, so no.