본문 바로가기

Text files: write then read

English

Files keep data after the program ends

  • A file stores data on disk, so it is still there after your program stops.
  • You work with a file through a FILE * — a pointer you get from fopen.
  • In these tasks you write a file, then read it back in the same program, so everything is self-contained.

A program writes to a file on disk and later reads it back

교재 자료

로그인 또는 계정 만들기

IGCSE, A-Level & AP