I am trying to read something from a bitmap and want to read the info at particular offset from the beginning of file. how can i do that?
I tried this but doesn't seem to work:
FILE *f = fopen("filename");
fread(&somestruct, 1, bytes_to_read, f+someOffset);
is there something similar to seekp() (C++)