Re: Bitz and Bytes , saving with fWRITE -
22-01-2004
Like I suggested in IRC - loop through your vis table and write it one byte at a time.
During the loop check if the iterator is evenly divisible by 512. If it is, call fflush on your stream.
That should force the data in the stream to be written to the file, but, since I have not tested this I'm not sure.
|