I have made a program that introduces a class, Inventory, that holds a given number of items introduced by the constructor. Observe:
What I am aiming to do is delete an individual member of the array. Is this possible? I have tried to delete it through my "Remove" function but...:
Inventory(short unsigned int suiSize)
delete  cItems;
Remove(short unsigned int suiIndex)
short unsigned int suiCap;
static short unsigned int siDefaultSize;
static int Inventory::siDefaultSize=32;
This gives me compiler errors, saying that Item * cannot be converted to void *.
So, any workaround to this?