so am back again with a dif question
I figure out how to make it work
if you declare a character array and do an fread to it from a binary data file, I noticed that the only data that is copied over is the character stuff in my original data file.
the file Iwas worknig with had characters...
hello Salem & thxs u so much for providing some insight.
my question is still on setting up the fread.
here is what I had in mind to do
define struct a; struct b; etc
have some function say process(<struct>) where struct could be either of type a, b, etc
then within this function would be...
hello: am working on a program that read through a binary data file. the problem that I am having right now is this. I have 6 different types of binary data files (different formats, - hence defined 6 different structures). the way that I did is was to make 6 different functions which call fread...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.