Controllerei anche la fwrite. Non è che hai invertito i campi?
codice:ret = fwrite(buff,dim,1 ,fp);
Controllerei anche la fwrite. Non è che hai invertito i campi?
codice:ret = fwrite(buff,dim,1 ,fp);
This code and information is provided "as is" without warranty of any kind, either expressed
or implied, including but not limited to the implied warranties of merchantability and/or
fitness for a particular purpose.