¡GoConqr estrena diseño! Cuéntanos qué te parece.

Mapa mental

File Handling Operations

Ethan Laithwaite Inglés

Contenido del mapa

File Handling Operations

  1. Open

    • Prepare the file
    • r Read only
    • W Write only
    • a Append
    • r+ or w+ Both read and write
  2. Close

    • Close the file
    • Important because the open file uses memory
    • Gives the file a file handle then immediately closes it
  3. Write

    • Allows the program to write to the file
    • If the file doesn't exist, it will be created
      • If it does exist, all data will be erased ready for the program to write to it
  4. Write loop

    • Used instead of repeating the write command again and again
    • More efficient
  5. Read

    • Converts the entire contents into a single string or array variable
      • The program can then search it to find the data it wants.
  6. Read loop

    • An iteration loop (FOR or WHILE) can be used to read a file
    • The entire data can be read or only some

Información

Descripción
Mapa Mental sobre File Handling Operations, creado por Ethan Laithwaite el 17/09/2017.
Visitas
2
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?