#include<stdio.h>
#include<stdlib.h> #define maxn 200
void main()
{
FILE *fp;
int s[maxn][maxn];
int i,j;
if((fp=fopen("d:\\temp\\test.txt","r"))==NULL)
{
printf(" can't open");
exit();
} for(i=;i<maxn;i++)
{
for(j=;j<maxn;j++)
{
fscanf(fp,"%d",&s[i][j]);
}
} }