Vector of doubles from block of bytes | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

Vector of doubles from block of bytes

is it possible to fill vector<double> from block of bytes read from binary file without looping to read each double and adding it

21st Dec 2017, 10:13 AM
Talal Bader
Talal Bader - avatar
1 ответ
0
No, it is not possible. But you don't need to read in a loop. Just reed all your binary data and then process it in a loop.
16th Jan 2018, 7:21 PM
Максим Суханов
Максим Суханов - avatar