Output File into Input File?

Hello, so I am about to create a program for a business. It will have a 2d array in it and I was wondering if you knew how to make it create an output file that would work to input a file as well. I hope that made sense.

I don't care for the output file to look pretty and organized. In a sense, I would like the output file to essentially be a storage unit so that way when I run the program again, it inputs that same file and opens the 2d array with all the data inside of it.

Can someone please help me?
http://www.cplusplus.com/reference/iostream/fstream/
fstream provides an interface to read and write data from files as input/output streams.


I really cannot word it better then this.
Topic archived. No new replies allowed.