buf = (char *)malloc(BUFFER_SIZE); //動態配置記憶體給Array ret = fread(buf, 1, BUFFER_SIZE, fp); // fread回傳讀取的byte數 while(ret > 0)
確定! 回上一頁