Ok, I have been writing the contents of an array to a file by looping through it like this pseudo-code:
for ( int n = 0; n < ArraySize; n++ )
write array[n] to file
Now my question is: Is it possible to write a whole array to a file at once?
For example: Let's say you have an array of an object structure.
Instead of cycling through this array and save each single element one could write the array to a file with one command (if possible).
I prefer
fstream, but DarkGDK file commands are acceptable.
Now the plot thickens, the fps decreases, and the awesomeness goes through the roof.