by skydereign » Fri Oct 21, 2011 9:42 pm
You use file io, so functions like fprintf and fscanf. You can use others as well, but I think those are the ones you'd be familiar with. There are plenty of posts about them, you use fopen to get a FILE*, and then use fprintf (acts like sprintf) and with two for loops you print out the data. Then do the reverse with fscanf. Again there are examples on the forums (searching fopen/fprintf/fscanf should do the trick), but if you need more instruction do ask.