this is probably a really lame question for all you brainiacks
but thanks to assistance from people on this forum i've started
to experiment in accessing files in binary. But i dont understand
what the numbers are that i get from using fread(). What do these
long numbers represent??
for example if i use this code on a jpg file......
int r,i; /*r holds what i get from fread*/
printf("it worked fine\n\n");
printf("Write error occurred\n");
.....i get -520103681
what do these mean?? What are they?
And if i change the integer r to a long, printf will not display anything!
can anybody tell me why!?!