Just remove the initial '*':

myArray[index].structmember = somevalue;

If you want to 'quickdelete' items in an array use a struct member for valid items and assign 0 to them, fi:

myArray[index].activeitem = 0;

If you want to be more precise and memory efficient, then you'll have to create a standard pointer list. That is, you'll have to add a next element struct member and whenever you delete an item, iterate through the list and assign the next element members.

Use the solution you like the most.

Last edited by brax; 12/20/17 11:22.