int n=5; FILE *pf; //開啟檔案.... //寫入n=5的資料,大小為int資料型態的byte,一次寫入一筆 fwrite(&n, sizeof(int), 1, pf); //寫入 //關閉.
確定! 回上一頁