Problem: initializing member array before loop

There's a bit more to it, so I didn't want to bother you with that stuff, but yes, thank you. I´ll keep it in mind for the next time.