Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous message
Lance is currently offline  Lance
Messages: 527
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.



 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: MSVC and code size
Next Topic: NaCl office
Goto Forum:
  


Current Time: Mon Apr 29 08:17:59 CEST 2024

Total time taken to generate the page: 0.03288 seconds