External Array

I’m building a simple array based tile engine. I want to have an outside source to hold my array (E.g. World Map File). If I remember correctly, one way of doing it is; putting the array in a binary file using MSVC, then loading it into memory in my main code.

If someone could clear this up for me, and maybe give me a idea of what to do, it would be very much appreciated.


I think you got the right idea, I’m not a real pro at C++, I’m sure someone else can help you.