Read-only archive of the All About Symbian forum (2001–2013) · About this archive

RPointerArray adding/removing.

0 replies · 1,977 views · Started 02 August 2006

Few questions:

1. when trying to append - If there isnt enough space in array, it allocates new and appending the item. what happend, when removing the item from array with Remove? doest shrinks at some point?

2. iMyArray[0] - returns the first pointer, that actually points to something or the first pointer at array?
i.e. if I call first for
iMyArray.Remove(0);
Then to
iMyArray[0] - what will i get here?

3. same question about Count() does it return the actual number of pointers and updates with every remove?

Thanks