[Solved] C++ Issues with vector
You did not show the code which adds the Child*s to the vector, but the symptoms you describe provide compelling evidence that you used pointers to some kind of local or temporary objects, which go out of scope (are destroyed) while the vector still holds the pointers. Your program hangs as a result of using … Read more