writing header file

i'm now writing a header file
how to read item data form specified file and store them in an array. and the value of a varible N should be updated accordingly.
how to allocate space for the array?
Topic archived. No new replies allowed.