fscanf(in, "%s", &str); // 讀檔. fprintf(out, "%s", str); // 寫檔. fclose(in); // 關閉input.txt. fclose(out); //關閉output.txt. return 0;. } fopen(): 開檔.
確定! 回上一頁