Home » Community » Coffee corner » Strange program crash
Re: Strange program crash [message #39179 is a reply to message #39178] |
Sat, 23 February 2013 05:25  |
Lance
Messages: 656 Registered: March 2007
|
Contributor |
|
|
Vector<Node> *RootHeader;
Here RootHeader is a pointer to a Vector<Node> object. eg.
Vector<Node> nodes;
Vector<Node>* RootHeader=&nodes;
//or
Vector<Node>* p=new Vector<Node>();
while
Vector<Node*> RootHeader;
// here on the other hand, RootHeader if a Vector of pointer to Node objects. Vector can be thought of as dynamic array.
|
|
|
Goto Forum:
Current Time: Sat May 03 05:27:01 CEST 2025
Total time taken to generate the page: 0.03650 seconds
|