I'm having some trouble making a level editor. Everything works perfectly EXCEPT that when I open it in another program, it crashes. How would I save a 16 by 16 array (using C IO)?
Here's the code for the editor:
It won't compile because it needs it's textures, but can anyone tell me the right way to save and open the "world" array?