You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
200 B
18 lines
200 B
9 years ago
|
#include <stdio.h>
|
||
|
int main()
|
||
|
{
|
||
|
FILE *fp;
|
||
|
if ( (fp= fopen("blk00000.dat","rb")) != 0 )
|
||
|
{
|
||
|
int i,c;
|
||
|
for (i=0; i<88; i++)
|
||
|
{
|
||
|
c = fgetc(fp);
|
||
|
if ( i >= 8 )
|
||
|
printf("%02x",c);
|
||
|
}
|
||
|
printf("\n");
|
||
|
fclose(fp);
|
||
|
}
|
||
|
}
|