FILE *stream = fopen("foo", "w"); // Read 1 block of 4 bytes from buf and write it into stream fwrite(&buf, sizeof(int), 1, stream);.
確定! 回上一頁