my problem is when I run my program it tells me that "Run-Time Check Failure #2 - Stack around the variable 'b1' was corrupted.If there is a handler for this exception, the program may be safely continued."
while (!feof(fp))
{
fscanf(fp, "%2X", &a1[0]);
fscanf(fp, "%2X", &a1[1]);
fscanf(fp, "%2X", &a1[2]);
fscanf(fp, "%2X", &a1[3]);
fscanf(fp, "%2X", &a1[4]);
fscanf(fp, "%2X", &b1[0]);
fscanf(fp, "%2X", &b1[1]);
fscanf(fp, "%2X", &b1[2]);
fscanf(fp, "%2X", &b1[3]);
fscanf(fp, "%2X", &b1[4]);
if (foo==foo)
{
foo....
}
}