二维数组问题
请问一个200x200的二维数组怎么分成8x8小块的?
#include<stdio.h>
main(){
int a,b,c,d,e=0,f,z=8,h=0,i=0,j=0,l,m=0,n=0,o,a1[80][80],b1[100][100];
struct fjkdfe{
int eight[8][8];
}kk[100];
FILE *p;
p=fopen("e:\\gtt.txt","w+");
for(a=0;a<80;a++)
for(b=0;b<80;b++)
{e++;a1[a][b]=e;}
for(i=0;i<10;i++)
{for(h=0;h<10;h++)
{ for(a=0;a<8;a++)
for(b=0;b<8;b++)
{ if(m==8)
{m=0;n++; printf("\n");fprintf(p,"\na"); }
if(n==8)
{n=0;j++;}
(kk[j].eight[n][m])=(a1[a+z*i][b+z*h-1]);
printf("%d ",kk[j].eight[n][m]);
fprintf(p,"%d ",kk[j].eight[n][m]);
m++;}
printf("\n");fprintf(p,"\nb"); } printf("\n");fprintf(p,"\nc"); }
for(a=0;a<8;a++) /*输出一组看看 */
{{for(b=0;b<8;b++)
printf("%d ",kk[0].eight[a][b]); }
printf("\n"); }
free(p);
getch();}