PDA

View Full Version : Quick question : Array of Objects


C++
10-29-2009, 01:04 AM
I looked around and I didn't quite find what I was looking for. I know that to initialize an array of objects, we have to go something like this : Object *array[10]; But my question is : Why exactly can't we just go like this.. Object array[10];