File I/O problem for dynamically allocated struct array

Printable View