cant do that the data i am trying to read and write is in the middle of a big binary file
the file pointer is all ready set for the read and it read ok.
it the fwrite that give me the error in vs2017 before i even compile.
You can't change a 1 to sizeof(char)? I doubt that.
fread(buff, sizeof(char) , c2, filestringdata);
instead of
fread(buff,1 ,c2, filestringdata);
Do the same for fwrite().
Where are you getting the value for c2? Your problem could be elsewhere than fread() and fwrite(). Impossible to tell without seeing more of your code.
fread works I trace it thru the debugger
I can even comment out fread
the error still in fwrite
I can put numbers in fwrite or even size of
the error still there
You're not showing any information about the input file. So how are you uncompressing this zip?
doesnt really matter why is fwrite giving me a error before i even compile
So what exactly are the error messages, all of them? The picture you posted appears to be pointing to the strcat() call, but it is hard to read so I may be wrong.
By the way you are really not showing enough content. And not answering all the posed questions is not helping either.