In C++ if I want an array of pointers so that I may have them point to different objects at a latter stage what does the syntax look like.
EDIT
I need to clarify what I am trying to do I guess. I have a class foo that has and add method. In the add method I take a reference to class bar. I want to save that reference into a pointer array of bar. The array of pointer bar will need to be expanded all the time this I have no problems with. It is creating and array on the heap of pointers so that I may assign bar objects to them later. What I have tried seems to fail as class bar does not have a default constructor which the compiler is complaining about. This lead me to think that I was creating and array of actual objects which I did not want to do.
Please no stl and no I do not want to hear about how you think this is crazy etc that is your opinion.
Any help is greatly appreciated.