dbjbv36201 dbjbv36201
  • 22-08-2018
  • Computers and Technology
contestada

You want to read from a file, whose size you do not know. what can you do to ensure you read all the bytes of data within that file?

Respuesta :

tonb
tonb tonb
  • 22-08-2018

While you cannot be sure you have enough memory to hold all the bytes of the file at the same time, you should read the bytes in chunks and discard them after processing. While reading, you keep testing for the end-of-file status.

Answer Link

Otras preguntas

June was thinking of a number. June divides by 3, then adds 6 to get an answer of 5. What was the original number?
Which of the following represents a neural circuit that would be involved in the response to stimulus? A. Sensory Cell- interneuron- sensory neuron- motor neuro
What are two types of evidence geologists use to learn about earth's interior?
What term describes the ability of the heart and lungs to supply oxygen to the muscles for a long period of time? Question 1 options: Flexibility Muscular Stren
¿qué pasaría si en nuestra lengua no se usaran acentos (tilde) en las palabras? ¿crees qué es necesario la utilización de los signos de puntuación en la redacci
please help!posted picture of question
What is the mixture of sperm cells and other fluids that are ejected from the penis called?
Korea greatly influenced the development of early Japan by
Write down three of the oxymorons juliet uses to describe romeo and explain why she uses this literary texhnique
Why does humus tend to increase with the clay content of soil? A. As the clay content increases, the amount of plant lignin in the soil increases. B. As