Reply To: C++ Programming

Ed P
Forumite Points: 16,575

I think i should also point out that if you had a pointer to an expanded Vector it won’t be valid

This link gives a useful understanding of vectors in C++. As you can assign things dynamically to a vector it isn’t too surprising that it barfs if you try to point at expanded elements as it would be pretty easy to generate variables that pointed at thin air.