Quote Originally Posted by master5001 View Post
You could also use the placement new operator and the C memory management functions, but vectors are a wise choice. I think you'd be amazed at how much info you can find about these types of questions by simply googling (and I say that not to be condescending so much as for your benefit of not having to read snide remarks about what you are asking not to mention the length of time that sometimes lapses between asking and a response).
Whilst that is a clever solution, I'm 99% sure that's not really the solution the original poster was looking for.

--
Mats