-1)) { fputs(line, newFile); } fclose(fp); if (line) { free(line); } return 0; } }. 只是將 printf 修改為 fputs. 就可以將檔案內容完整複製到另外一個新的檔案.
確定! 回上一頁