Noob: needs help with file I/O
I'm having a prob with loading a file into an array.
I'm fine with opening the file but when it come to the fread command i seem to be failing as the document size will be variable, so how can i state a file size as "num_of_elements".
if this is not clear, then my basic idea is:
i want to open a file in 128 bit chunks and load it into an array so i can perform function on the array. Thats about it.
I would provide code, but i've butchered it that much it aint much use.
any help would be greatly appreciated.