Quote:
|
When we run out of slots in the array.
|
Yes, but again looking at your code - what part of this function uses the array? And what part in all your code would cause m_nsources to change?
Quote:
|
use a private array? to store it?
|
Yes! You already have a private array, so I would suggest this is the time to use it.