I am working with a program that needs to open a binary file and then work with regular text files and also mix a little hashing in. I know this is very vague, but could someone give me a SMALL example of something similar to this. I can't seem to grasp the idea of working with multiple files and hashing.
thanks guys! you've been a great deal of help.
By hashing, I presume you want rapid access to items by using somekind of unique key to distinguish them. Is this what you mean?
If so where are you storing the 'items', in the text file* or the binary file.
*Text files are really just binary files (all files are binary), but they have some formatting rules (such as linefeed characters at line ends) which make then suitable for storing text data.
I recommend that you first come up with a working hashing algorithm. Everything else should be simple from there on.
alright, sounds like a plan. you guys are great.
i'll get the hashing function and then go from there.
any other comments are welcome.