#include int getLong(FILE *fp) { int a = fgetc(fp); int b = fgetc(fp); int c = fgetc(fp); int d = fgetc(fp); return a | b<<8 | c<<16 | d<<24; } int main(int argc, char **argv) { FILE *fp = fopen(argv[1], "rb"); if (fp) { int i; long pos; long num; getLong(fp); getLong(fp); pos = getLong(fp); num = getLong(fp); fseek(fp, pos + 4 + num, SEEK_CUR); num /= 4; for (i=0; i