二進位制標準檔案透過 FILE* poFile = fopen("路徑和檔案", "w+b"); 開啟,並透過 fclose(pofile); 關閉。該檔案有一個“查詢指標”,它表示下一個 fwrite() 或 fread() 操作將發生的 position (從檔案的開頭測量)。該查詢指標可以透過 ftell() 查詢或透過 fseek() 移動。
FILE* poFile = fopen("路徑和檔案", "w+b");
fclose(pofile);
fwrite()
fread()
ftell()
fseek()
有關二進位制檔案的其他資訊