Quote Originally Posted by Gopala Krishna View Post
Usually it is better to declare elements on stack rather that heap but it does depend on how you use it in you application.
[/CODE]
What do you mean? What's the reason lead me to allocate the vecNode(in the main) in on the stack or on heap?