save/load struct array to/from file

im looking to save a struct array to a file. im trying to get it to save the data, but since its a multi-dinmensional array it doesnt seem to work, but it does seem to work with a one-dimensional array. is there a way to get it to work with a multi-dimensional array?
Try what I'm doing with multi-dimensional arrays - store it as a one dimensional array, and use math to determine the position. That way, saving is really easy!
alrighty, thanks. that will have to do then, but hey if it works, it works, thats what matters. but what i did was just have the multi-dimensional array with-in the struct, and declare the main struct array as an one dimensional array.
Topic archived. No new replies allowed.