int n= 100; FILE *fp; //開啟為二進位檔 if ((fp = fopen("FILE","wb+")) == NULL) exit(1); //寫入一個整數100到檔案 if (fwrite(&n, sizeof(int), ...
確定! 回上一頁