Please find below my code and log for loading an array, writing it to a file and reading it back (no problem) UNTIL I try resize the array to add another row to store more data. [...]
If you declare or resize an array so that it has 2 elements (e.g. ArrayResize(arr, 2)) then those elements are 0 and 1, not 1 and 2.
As far as I can see you are resizing the array from 1 and 2, and then trying to write data into arr[2] when only arr[0] and arr[1] are valid.
Please find below my code and log for loading an array, writing it to a file and reading it back (no problem) UNTIL I try resize the array to add another row to store more data.
I get no errors but data entered from an order into the array is not there when I try to read it back again. HELP!!! been trying to fix it for over a week now so bound to be something I do not
understand or/and I am being really stupid.