[求助]请教各位大侠(在线等待)!!
请问各位大侠在TC下,我给一个二维数组赋值怎么老是不能连接上阿!!程序如下:if((fp=fopen("xyp.txt","r"))==NULL)
{
printf("cannot open this file\n");
exit(0);
}
while(!feof(fp))
{
for(i=0;i<20;i++)
for(j=0;j<3;j++)
fscanf(fp,"%f",&array[i][j]);
printf("%f",array[i][j]);
}