Hi
I am facing a problem using the fread in one of my codes.
I have to read a structure worth of information for every frame of data I have to process. I have decalred the file pointers as globals in main and using them as extern where I have to call the function.
The problem that I am facing is that in the first frame I get correct information from the fread and the second time onwards, I get all zeroes as my information.
I have tried increasing the heap size as well but that did not solve the purpose.
Please provide some help on this issue.
Thanks
Dushyant