Does fread read contiguos blocks of content? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

Does fread read contiguos blocks of content?

Suppose I want to read several blocks of n size until condition c is met (a while loop). If I use fread, will it read sequential blocks of content on every iteration or it only reads the first block of size n?

24th Jun 2020, 3:36 PM
Antônio Gabriel Zeni Landim
Antônio Gabriel Zeni Landim - avatar
1 ответ
+ 1
Thanks, ~ swim ~. Just what I needed to know.
24th Jun 2020, 3:51 PM
Antônio Gabriel Zeni Landim
Antônio Gabriel Zeni Landim - avatar