Problem: initializing member array before loop

Yes, Variable Shawdowing.
The local variable being initalized is destroyed when the function (constructor or begin) ends.

1 Like