int* data=(int*)malloc(size*sizeof(int)); int i=0,tmp; while(fscanf(m,"%d",&tmp)!=EOF)data[i++]=tmp;. Why it's working instead of this? :
確定! 回上一頁