K
K
kenny1822017-05-31 10:45:07
C++ / C#
kenny182, 2017-05-31 10:45:07

How to read segments of data from a file?

It is necessary to read certain data from a file into a dynamic array, where they are in the file - it is known. I know how to use fread, but it overwrites the data already in the array.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
kenny182, 2017-05-31
@kenny182

Created a pointer to the beginning of the array and incremented it according to the fill

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question