# \#reading-from-file

**URL:** https://verificationacademy.com/forums/tag/reading-from-file/4739.md

[Latest](https://verificationacademy.com/forums/latest.md) · [Categories](https://verificationacademy.com/forums/categories.md) · [Tags](https://verificationacademy.com/forums/tags.md)

---

## [Reading file into dynamic array failed](https://verificationacademy.com/forums/t/reading-file-into-dynamic-array-failed/29656)

<div class="topic-metadata">

**Author:** [@trogers](https://verificationacademy.com/forums/u/trogers)\
**Replies:** 4\
**Last updated:** [November 21, 2016, 7:48am UTC](https://verificationacademy.com/forums/t/reading-file-into-dynamic-array-failed/29656 "2016-11-21T07:48:45Z")

</div>

hello everyone! i tried to initialize dynamic array with data, read from file, but no data was loaded into it. My code looks like this: int file\_id; bit \[7:0\] video\_data \[0:BYTES\_PER\_WORD\*(IMAGE\_SIZE\_XIMAGE\_SIZE\_Y)-1\]; …
