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

6 out of every 20 people in the U.S. who were over the age of 25 had completed four years or more of college. If a community has 1860 residents over the age of
Which of the following phases involves white blood cells leaving capillaries?
What two factors are involved in intellectual development?
PLEASE HELP! BEST ANSWER = BRAINLIEST!A 5-pound bag of apples cost $3.50. Use that rate, to complete the table to identify equivalent ratios, and then answer th
a soccer player scores 3 goals in two games how many goals are they expected to score in nine games
King Louis XVI was accused of treason and beheaded on the guillotine. True False
Suppose that in 30% of married couples the husband smokes, while in only 20% of the married couples the wife smokes. Finally, it is estimated that in 8% of the
read the stanza from "invictus" it matters how strait the gate is, how charged with punishments the scroll, i am the master of my fate, i am the captain of my
What is the spaulding classification?
After which of these verbs would you most likely find an indirect object? were is give am