hi all, and I ask pardon for this question (I've read the FAQ about pointers) but still can't get rid of this doubt.
I would like to compare these 2 different types of instantiation:
And:Code:Item* _queue; _queue= new Item[size];
Code:Item** _queue; _queue = new Item*[size];
Supposing that queue is going to receive data in form of Item objects, which one is the most correct form I should choose?
An array of Items as in the first case or an array of pointers to Item?
Maybe I'm just a bit confused but I really can't solve this