Saving Map Array To Disk

This is a discussion on Saving Map Array To Disk within the Game Programming forums, part of the General Programming Boards category; I was wondering if anyone could give me a little help on a simple question. I have been making an ...

Saving Map Array To Disk

I was wondering if anyone could give me a little help on a simple question. I have been making an RPG with DirectX 7, and have the tile engine working perfectly. Now I have made a tile editor to create the land the easy way. All is good, with the exception that I am having trouble saving my array to disk. I used a 2D map array, and was wondering if I should use the C++ stream functions, or stick with C. Someone told me to stick with C, but that doesn't seem to sound right. Anyways, I was just wondering how it would be possible to save the full map array to disk, and have it read back in the same order? Thanks in advance.