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

What is the rule for this input-output table?
HELP me I need help really bad I will give brainlyiset to the best and simple answer
assistance is needed help please
Find the missing angle for the equilateral triangle below .
In Don Quixote, Miguel de Cervantes uses the story of a man who dresses as a knight to explore military strength. government corruption. human nature. human suf
56 watched tennis 20 are boys 17 girls 32 didn't watch tennis one of these gets chose at random what's the probability that the student chosen will be a boy
log 3243 a)5 b)7 c)4 d)6
How many possible orbitals are there for n = 3?
Biological dad means ​
how is king george v honest