Why do you allocate memory for an array that is already backed by enough memory? And if you want to do it in one line, put your arrays in a struct, create a static instance and save it via add_struct.


Shitlord by trade and passion. Graphics programmer at Laminar Research.
I write blog posts at feresignum.com