Quote Originally Posted by Sheng
Yes, actually I used linked list, just use QVector for the example since all of them crashes.
Still you didn't say what is the array meant for.

Quote Originally Posted by lni View Post
In his example, the stack is contained inside the heap.
I'm sorry, but are you sure you know what the stack is? Because based on your post I think you don't.