본문 바로가기
English

Files keep data

  • Variables vanish when a program ends; a file stores data so it lasts.
  • The exam covers reading from and writing to text files.
  • Work in three steps: open, read or write, then close.

File modes: r reads, w overwrites, a appends

교재 자료

로그인 또는 계정 만들기

IGCSE, A-Level & AP