while (fscanf(fp, “%c”, &ch) != EOF) /* 輸入字元 */. printf(“%c”, ch); /* 輸出字元 */. fclose(fp); /* 關閉檔案 */. } File Pointers.
確定! 回上一頁