開檔. fpr=fopen("d:\\a.txt","r");. //讀檔. fscanf(fpr,"%d",&a); //行. fscanf(fpr,"%d",&b); //列. for (i=0;i<a;i++). {. for(j=0;j<b;j++).
確定! 回上一頁